Welcome to Westonci.ca, the place where your questions are answered by a community of knowledgeable contributors. Experience the ease of finding precise answers to your questions from a knowledgeable community of experts. Get immediate and reliable solutions to your questions from a community of experienced professionals on our platform.

Programming Exercise 5-3A
Instructions

Write an application for the Shady Rest Room; the program determines the price of a room. Ask the user to choose 1 for a queen bed, 2 for a king, or 3 for a king and a pullout couch. The output echoes the input and displays the price of the room: $125 for queen, $139 for king, and $165 for suite with king bed and a pullout couch. If the user enters an invalid code, display You selected an invalid option and set the price to 0.


Sagot :

Thank you for your visit. We're committed to providing you with the best information available. Return anytime for more. Your visit means a lot to us. Don't hesitate to return for more reliable answers to any questions you may have. Thank you for trusting Westonci.ca. Don't forget to revisit us for more accurate and insightful answers.