File Tools View QUESTION KEMBOJA Hospital provides top-notched medical care with comfortable rooms. The following are th
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
File Tools View QUESTION KEMBOJA Hospital provides top-notched medical care with comfortable rooms. The following are th
QUESTION KEMBOJA Hospital provides top-notched medical care with comfortable rooms. The following are the types of rooms and their rates. Room charges : Junior suite Deluxe suite Executive suite Types of charges Critical care units: ICU/CCU nursery Screens 1-2 of 7 28°C Cloudy Charge per day (RM) 150 250 350 300 60 Write a complete C++ program to perform the following: a) Write a program will prompt the user to inputs the pa- tient's name, room name, the number of days spent in the hospital, the critical care unit (Y or N), the nursery (Y or N), and the mode of payment (Credit card- B or Cash - C). PPT assignment 1 and 2 with rubric-May 22 ▾ b) Calculates the discount based on the total charge. A discount of 10% will be given if the mode of pay- ment is cash. c) Print the receipt as follows for each customer: ■ Patient Name Room Name Total Charge Discount Total Payment KEMBOJA HOSPITAL : : : : : Alya Bella Executive Suite RM 1400.00 RM 140.00 RM 1260.00 Thank you and please come again IA d) The program will be repeated to add other patients. 2. Write a pseudocode. 3. Draw a flow chart. 回 Requirements for Assignment 1: 1. Analyse the problem to identify input, process, and output. These items will be used in designing an al- gorithm. 4. Produce a tracing table to show the projected value. I Focus BE E 0 X + 140% 1:33 AM 30/6/2022 1
File Tools View