Question: Write a program called storied that: (15 points) a. In a comment on the first line gives your full name (first and last). b.
Write a program called storied that: (15 points) a. In a comment on the first line gives your full name (first and last). b. Asks the user for a series of inputs: i. A first name. ii. An animal. iii. A pet name. iv. A verb. v. An object. vi. An adverb. vii. A psychological condition. viii. An emotion. ix. An exclamation. c. If any of what was inputted was left blank by the user, tells the user that, to punish them for their insolence, the program will stop now. The program then stops running. d. Otherwise, the program prints out (all on one line, using placeholders) the following two-sentence story: i. [First Name] told their [animal], [petname], to [verb] the [object] [adverb] as a way to overcome their [psychological condition]. When they tried it, [petname] felt [emotion] and shouted "[exclamation]!"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
