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, g

STUCK with your assignment? When is it due? Hire our professional essay experts who are available online 24/7 for an essay paper written to a high standard at a reasonable price.


Order a Similar Paper Order a Different Paper

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

Writerbay.net

Everyone needs a little help with academic work from time to time. Hire the best essay writing professionals working for us today!

Get a 15% discount for your first order


Order a Similar Paper Order a Different Paper