Computers and Technology

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.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 00:30, devenybates
Which one of the following is the most accurate definition of technology? a electronic tools that improve functionality b electronic tools that provide entertainment or practical value c any type of tool that serves a practical function d any type of tool that enhances communication
Answers: 1
image
Computers and Technology, 23.06.2019 18:50, ana7496
What is transmission control protocol/internet protocol (tcp/ip)? software that prevents direct communication between a sending and receiving computer and is used to monitor packets for security reasons a standard that specifies the format of data as well as the rules to be followed during transmission a simple network protocol that allows the transfer of files between two computers on the internet a standard internet protocol that provides the technical foundation for the public internet as well as for large numbers of private networks
Answers: 2
image
Computers and Technology, 23.06.2019 21:40, gaby06
Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the user must repeat the sequence. create a for loop that compares the two strings. for each match, add one point to user_score. upon a mismatch, end the game. sample output with inputs: 'rrgbryybgy' 'rrgbbrybgy'
Answers: 3
image
Computers and Technology, 24.06.2019 03:00, greenhappypiggies
Using a conditional expression, write a statement that increments numusers if updatedirection is 1, otherwise decrements numusers. ex: if numusers is 8 and updatedirection is 1, numusers becomes 9; if updatedirection is 0, numusers becomes 7.
Answers: 1
Do you know the correct answer?
Write a program which generates interactive stories. You program should begin by asking the user a n...

Questions in other subjects:

Konu
English, 02.02.2021 01:30