Question
Write in PSEUDOCODE and draw a FLOWCHART that calculates the cost of the room. It should ask which policy the customer want to purchase and
Write in PSEUDOCODE and draw a FLOWCHART that calculates the cost of the room. It should ask which policy the customer want to purchase and if any discount included with the policy. It should then display the cost of the room.
A hotel has a pricing policy as follows: Policy A: 2 people - $85 Policy B: 3 people - $90 Policy C: 4 people - $95 Policy D: Additional people - $6 per person If the customer is staying on company business, there is a 20% discount. If the customer is over 65 years of age, there is a 15% discount. A customer does not receive both discounts.
Step 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