Question: You will write a Mad Libs program. It will read in a string of words, then concatenate them, and display them out. You will read

 You will write a Mad Libs program. It will read in

You will write a Mad Libs program. It will read in a string of words, then concatenate them, and display them out. You will read in 5 strings (groups of words). DO NOT use a loop or array for this program. DO NOT copy a Java program you find online to do this. You must write your own, simple code for this assignment! Just a reminder, cheating and dishonesty will not be tolerated. Use the information in chapter 4, Standard Classes, in the appendix and on the web for assistance. Here is one example website that may help you: https://www -java/ //www.geeksforgeeks.org/scanner-class-in to learn how to read a string of characters in from the keyboard. You may also want to make use of the concatenation symbol +. Here is a sample run, yours may look different: Please enter the first group of words: Today is a nice day Please enter the second group of words: because it is 75 degrees Please enter the third group of words: outside. Please enter the fourth group of words: Have a Please enter the fifth group of words: great day! Here is your story: Today is a nice day because it is 75 degrees outside. Have a great day

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!