1. Engineering
2. Computer Science
3. please point out any errors you may see the manager...

# Question: please point out any errors you may see the manager...

###### Question details

Please point out any errors you may see!

1. The manager of a hotel wants a program that calculates and displays a guest’s total bill. Each guest pays a room charge that is based on a per-night rate and how many nights the guest stays. Customers also may incur a one-time room service charge and a one-time telephone charge.
 Inputs Process Outputs roomCharge nightStay billTotal serviceCharge phoneCharge

Pseudo Code:

1. Enter value of roomCharge
2. Enter value of nightStay
3. Enter value of serviceCharge
4. Enter value of phoneCharge
5. Multiply nightStay and roomCharge then add other values to find billTotal
6. Display billTotal

Desk Check

 roomCharge nightStay serviceCharge phoneCharge billTotal 150 3 50 75 (150*3=450) 450+50+75= 575 100 5 75 60 (100*5=500) 500+75+60=635
1. A store is having a sale. The manager wants a program that allows the sales clerk to enter the original price of an item and the discount rate. The program should calculate and display the sale price.

 Inputs Process Outputs orignialPrice salePrice discountRate

Pseudo Code:

1. Enter value for originalPrice
2. Enter value for discountRate
3. Calculate salePrice by multiplying discountRate by originalPrice and subtract discount
4. Display salePrice

Desk Check

 orignialPrice discountRate salePrice 50 .25 (50*.25)=12.5 50-12.5= 37.5 75 .35 (70*.35=24.5)=50.5