Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:

I have a project that I have to do in school and the question goes like this, i'm doing business and I don't know much about programming...The question goes like this? Please, I would appreciate it so much if someone can put me through on how to go about this.... Its due tomorrow 

The question is to  

Cryptic Sentence Builder Program specificationWrite a program that:1 - Accepts words from the user as console input.2 - The user should enter ONE word at a time. 3 - When the user is finished entering words, the user should be able to just press the Enter key with no other input on a line to signal that the input process is finished. 4 - The program should assemble and display the words as a SINGLE sentence. 5 - The words of the sentence should be written out in the same order that they were typed in. 6 - Each individual word should be written out with its letters in reverse order. 7 - The maximum number of words that should be accepted is 64. 8 - The input process should end when the number of words exceeds 64. 9 - The user should be prompted to enter each word suring the input process. 10 - Each word should be echoed back to the console after the user enters it. 11 - The echoed word should have the character ">" in front of it. 12 - The final sentence should be written out with "The sentence is:" in front of it. 13 - After displaying the sentence, there should be a prompt telling the user to press the Enter key to quit the program at the end. 14 - After displaying the prompt, the console output should remain on the screen until the user presses the Enter key. 15 - After the user presses the Enter key (when prompted to), the program should quit. Here is an example of such a program's console output (user input in italic)- 
  Enter a single word: one>oneEnter a single word:two>twoEnter a single word:three>threeEnter a single word:four>fourthe sentence is:ruof eerht owt eno*press the Enter key to quit*  

Posted

1 solution

Why did you repost this question again, but formatted better?

You should have just edited the original question.

See your other post for a suggested answer.

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900