Question: Declare a variable answer as char, initialize answer to y (yes) Use while loop to display the following poem if the answer is yes Roses
Declare a variable answer as char, initialize answer to y (yes) Use while loop to display the following poem if the answer is yes Roses are red Violets are blue I Love C++ How about you? . Display the message "Want to see my poem again? y-yes, n-no ", then get answer from user Goodbye. . If user's answer is no, then display "OK, all done. P L1908w
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
