‏Blood sugar is considered normal if its rate is Ines than 140 and greater than 70 , it is considered high its rate is greater man or equal to 140 , and it is considered low its rate is less than or...

‏Blood sugar is considered normal if its rate is Ines than 140 and greater than 70 , it is considered high its rate is greater man or equal to 140 , and it is considered low its rate is less than or equal to 70 . Write a program that read form a file called " patient.txt " the data for unknown number of patients , each line in the file contain : First and the last name of the patient Age The rate of the blood sugar . Print on Screen the following : • The data of each patient ( in one line ) in addition to the string " Height " , " Low " or " Normal " depending of the rate . • The number of patients with normal blood sugar . The number of patients with high blood sugar . • The number of patients with low blood sugar . The total number of patients in the file .Blood sugar is considered normal if its rate is less than 140 and greater<br>than 70, it is considered high its rate is greater a or equal to 140, and it<br>is considered low its rate is less than or equal to 70.<br>Write a program that read form a file called

Extracted text: Blood sugar is considered normal if its rate is less than 140 and greater than 70, it is considered high its rate is greater a or equal to 140, and it is considered low its rate is less than or equal to 70. Write a program that read form a file called "patient.txt" the data for unknown number of patients, each line in the file contain: • First and the last name of the patient • Age • The rate of the blood sugar. Print on Screen the following: • The data of each patient (in one line) in addition to the string "Height", "Low" or "Normal" depending of the rate. • The number of patients with normal blood • The number of patients with high blood sugar. • The number of patients with low blood sugar. The total number of patients in the file. sugar.
Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here