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
- Fall '08
- ABC Community Hospital, patient identification number, digit string value, patient chooses. Room