Description
Programming assignment (100 pts):
Write a program which generates interactive stories. You
program should begin by asking the user a number of questions such as: what is your name?
How old are you? What is your favorite color? Etc.
After obtaining a sufficient amount of
personal information your program should output a short story (at least one paragraph) which
incorporates user’s personal information you have obtained via questioning. (The topic of the
story is up to you, but please keeps it clean.)
The generated story should be somewhat different
every time the program is run (randomly generate alternative endings, randomly select different
descriptions of objects (blue car, green car, red car), etc. Your program should make use of
pointers and arrays to deal with strings.
Sample Output:
What is your name? Roman
How old are you? 30
What is your favorite color? black
Roman is a 30 year old who likes his black laptop…
Sample Output (second run of the same program):
What is your name? Roman
How old are you? 30
What is your favorite color? black
Roman is a 30 year old who likes his black Toyota Corolla…
Custom Work, Just for You!
Can’t find the tutorial you need? No worries! We create custom, original work at affordable prices! We specialize in Computer Science, Software, Mechanical, and Electrical Engineering, as well as Health Sciences, Statistics, Discrete Math, Social Sciences, Law, and English.
Custom/Original Work Essays cost as low as $10 per page.
Programming Custom Work starts from $50.
Get top-quality help now!