question archive program in c(not in c++ or c#), using if and while for the following situation: In a hospital, patients are registered, for each patient the following are registered: patient code (integer), age, gender, type of consultation (1, 2 or 3) and days of hospitalization

program in c(not in c++ or c#), using if and while for the following situation: In a hospital, patients are registered, for each patient the following are registered: patient code (integer), age, gender, type of consultation (1, 2 or 3) and days of hospitalization

Subject:Computer SciencePrice: Bought3

program in c(not in c++ or c#), using if and while for the following situation:

In a hospital, patients are registered, for each patient the following are registered: patient code (integer), age, gender, type of consultation (1, 2 or 3) and days of hospitalization. Data entry is complete when enter a product whose code is negative or zero.

It should show through a menu:

1. Number of hospitalized patients

2. Number of patients whose code is 799

3. Average number of days spent in hospital among patients over 55 years of age

4. Older age among patients seen between type 2 and 4 consultations

5. Younger age among patients who have been hospitalized for more than 3 days

6. Exit

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE

Related Questions