Question: Write a program that creates a sentence. The program Sentence.java should ask the user for three different words. The first word is the subject, the
Write a program that creates a sentence. The program Sentence.java should ask the user for three different words. The first word is the subject, the second is an adverb, and the last will be a verb. Use a StringBuilder to build the user's sentence and output the completed sentence to the console.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
