![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 09.12.2020 01:00 49Janett
Make the following modifications to the original sentence-generator program:
The prepositional phrase is optional. (It can appear with a certain probability.)
A conjunction and a second independent clause are optional: "The boy took a drink and the girl played baseball".
An adjective is optional, it may or may not be added to the sentence to describe a noun: "The girl kicked the red ball with a sore foot".
"Optional" is implying that the program should include these elements in a semi-random frequency.
You should add new variables for the sets of adjectives and conjunctions.
An example of the program input and output is shown below:
Enter the number of sentences: 3
A LITTLE BALL HIT A LITTLE GIRL
THE BOY HIT THE LITTLE BAT BY THE RED BOY
A RED BOY SAW A RED BOY
![ansver](/tpl/images/cats/User.png)
Answers: 2
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 14:00
In simple terms, how would you define a protocol?
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 16:00
Read these lines from beowulf.often scyld scefing seized mead-benches from enemytroops, from many a clan, he terrified warriors, even thoughfirst he was found a waif, best explains why the author includes this information in theexposition? a. to emphasize that a hero must learn to be fierceb. to remember the famous story of a popular heroc. to express sadness about losing the old heroesd. to see whether people still respect the old heroes
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 22:10
In command prompt, whats a command that will list only .ini files in c: \windows\system32 directory?
Answers: 1
You know the right answer?
Make the following modifications to the original sentence-generator program:
The prepositional phra...
Questions
![question](/tpl/images/cats/biologiya.png)
Biology, 16.07.2019 20:20
![question](/tpl/images/cats/pravo.png)
Law, 16.07.2019 20:20
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/User.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/istoriya.png)
History, 16.07.2019 20:20
![question](/tpl/images/cats/mat.png)
Mathematics, 16.07.2019 20:20
![question](/tpl/images/cats/istoriya.png)
History, 16.07.2019 20:20
![question](/tpl/images/cats/mat.png)
Mathematics, 16.07.2019 20:20
![question](/tpl/images/cats/en.png)
English, 16.07.2019 20:20
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 16.07.2019 20:30
![question](/tpl/images/cats/mat.png)