Question: solve it by C language using structure and files Consider a hospital which treats 100 patients. For each patient the hospital records the following: Patient

solve it by C language using structure and files
Consider a hospital which treats 100 patients. For each patient the hospital records the following: Patient name (string), Patient telephone no integer), Patient Gender (char), and treatment days spent in hospital (integer) It is required to write a computer program which do the following: 1) Create the appropriate structure which can hold the data of patients. 2) Read data of all patients from file called Patients.txt. 3) Print on screen all data of female patients whose treatment days are more than the average treatment days of all patients
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
