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)

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

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!