Write a program that through functions and NxN matrix that determines to enter the data of 30
Fantastic news! We've Found the answer you've been seeking!
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, 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.
Related Book For
Posted Date: