Question: Assume that word is a String variable. Write a statement to display the message Today's Word-Of-The-Day is: followed by the value of word.
Assume that word is a String variable. Write a statement to display the message "Today's Word-Of-The-Day is: " followed by the value of word. The entire message, including the value of word, should appear on a single line of output. For example, if the value of word is "Hello", the statement should display the following: Today's Word-Of-The-Day is: Hello Hint: In your code make sure the string literal "Today's Word-Of-The-Day is: "is written exactly as shown here.
Step by Step Solution
There are 3 Steps involved in it
To display the message Todays WordOfTheDay is followed by the value of th... View full answer
Get step-by-step solutions from verified subject matter experts
