Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need help with question and in c programming but don't use methods do everything in main method also use basic c programming because we
I need help with question and in c programming but don't use methods do everything in main method also use basic c programming because we learning basic things in class right now like if/else statements or for loop or while loop. Thank you!
same thing with this use basic c programming thank you!
Problem Statement 2) Think of a hotel front desk application. Prompt the user to input his/her first and last name and display back to the user "Mr. last name" .. with a welcome message. Then ask the user to input number of rooms desired and price per room. Finally, calculate the price and add a 10% tax then display the total amount to be collected. Use some repetition structure to continue looping and getting the user input again until / unless user types a sentinel value. Problem 3) Statement Display a prompt for the user to input a number between 1-12 based on the user input use the multiple selection (Switch / Case) structure to display back the name of the month and whether it is the 1st, 2nd... ex. Jan is the 1st month, Aug is the 8th month Use some repetition structure to continue looping and getting the user input again until / unless user types a sentinel value. Extra Credit. -Bonus points, if you can make your code more efficient, ex. without listing 12 cases for each month for Problem #4Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started