This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: if the patient chooses semi-private, then the cost for medication is what is shown on the billing chart; and if the patient chooses ward, then the medication cost is half what is shown on the billing chart. • A patient who chooses private room pays for television service and telephone service; a patient who chooses semi-private room pays for television service, and a patient who chooses the ward gets television and telephone services free. These are flat fees (one time fees). A typical output is as follows (Note: you are required to use the switch statement to determine the room type)...
View Full Document
This note was uploaded on 01/06/2012 for the course COP 2250 taught by Professor Staff during the Fall '08 term at FIU.
- Fall '08