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....