Question: Write a program that through functions and NxN matrix that determines to enter the data of 30 patients on the screen: identity card, name, age,

Write a program that through functions and NxN matrix that determines to enter the data of 30 patients on the screen: identity card, name, age, sex (1 = woman, 2 = male), type of illness (1 = bronchitis, 2 = high blood pressure, 3 = cancer, 4 = diabetes), stratum (1-6), and treatment value. Percentage of men over 50 with cancer is requested. Total women minors with bronchitis or diabetes. The EPS has a discount program like this: if the patient is from stratum 1, he discounts 40% of the value of the treatment; if he is from stratum 2, he discounts 25% if he is from stratum 3, 15%; the other strata are not discounted. It is requested to show the value to pay for each patient, the total collected by the EPS.

Step by Step Solution

3.50 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Assuming this is the correct English translation Write a program that through functions and NxN matrix that determines to enter the data of 30 patients on the screen identity card name age sex 1 woman ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!