Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please answer very fast SECTION 3: Programming (20 MARKS] ANSWER (1) QUESTION BELOW. As the effects of COVID-19 spread across the entire world, many hospitals

image text in transcribed

image text in transcribed

image text in transcribed

please answer very fast

SECTION 3: Programming (20 MARKS] ANSWER (1) QUESTION BELOW. As the effects of COVID-19 spread across the entire world, many hospitals have closed during the pandemic. Some departments are open like emergency department and the highest priority is given to patients who may have COVID-19 or other infections from those with other emergent problems. The purpose is to help reduce the spread of COVID-19 and other infectious diseases, and infection prevention among patient rooms and operating rooms. However, KPJ Hospitals are open and available to provide health services with safe emergency and essential care like maternity services. There are at most 100 patients. The packages offered by KPJ hospitals are as follows: Table 1: Maternity Services and Prices Information (2 Days Stay) Maternity Services Prices (RM) Baby Care Greater or equal to 950.00 Meal Greater or equal to 900.00 Covid Test Screening Greater or equal to 805.00 Average Greater or equal to 885.00 Total Price > 885.00 is eligible for free; Free Room Upgrade (1 Day) Enter pregnant mom's name :Alyssa Enter mom's ID: 112233 Enter prices paid for maternity services -> baby_care, meal and covid_test: ese.e9 900.88 93e.ee Do u want to enter any record:-> (Y/N) Y Enter pregnant mom's name : Suyin Enter mom's ID: 123321 Enter prices paid for maternity services -> baby_care, meal and covid_test: gee.ee 9ee.ee see.ee bo u want to enter any record:-> (Y/N) Y Enter pregnant mom's name :Malinha Enter mom's ID: 111333 Enter prices paid for maternity services -> baby_care, meal and covid_test: 960.00 900.00 750.00 bo u want to enter any record:-> (Y/N) N THANK YOU Figure : Sample output on the screen Mom's name AM PREGNANT MOM'S ELIGIBILITY INFORMATION_ ID Baby_care Meal Covid_test Average 23 ARRA ARA Do u want to enter any record:-> ( Y/N) N THANK YOU Figure 1: Sample output on the screen _PREGNANT MOM'S ELIGIBILITY INFORMATION Mom's name ID Baby_care Meal Covid_test Average Alyssa 112233 950.00 900.00 930.00 926.67 SuYin 123321 900.ee 900.ee See.ee 866.67 Malinha 111333 960.ee 900.ee 750.ee 870.ee Moms who are eligible: Alyssa 112233 Figure 2: Sample output in the output file (result.txt) 7 A B I %

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database Foundations Technology Fundamentals For IT Success

Authors: Bob Bryla

1st Edition

0782143725, 9780782143720

More Books

Students also viewed these Databases questions