Moosa 853 162 Badr 598 155 Saleem 750 173 Hind 521 165 5 Medical Doctor Database Patients Q37037755

Moosa        85.3          1.62

Badr         59.8          1.55

Saleem 75.0         1.73

Hind         52.1          1.65

5. A medical doctor has a database of his patients that includesthe weight and height of each patient. This database is stored in afile called patients.txt. The example to the right shows how thepatient’s records are stored in the text file.

In this text file, the first column shows the patient’s name. Thesecond and third columns show the weight (kilograms) and height(meters) of each patient, respectively. Note that any patientappears only once in the database file.

Please enter the name of the patient: Badr

BMI of the patient Badr = 24.8907 kg/m2.

The doctor would like

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.