Program
A doctor has a clinic where he serves his patients
The doctor's consultation fees are different for
different groups of patients depending on their age
If the patient's age is below 17. fees is 200 INR
If the patient's age is between 17 and 40, fees is 400
INR
If the patient's age is above 40, fees is 300 INR,
Write a code to calculate earnings in a day for which
one arrayList of values representing age of patients
visited on that day is passed as input,
Note:
• Age should not be zero or less than zero or above
120.
Doctor consults a maximum of 20 patients a day
Enter age value (press ENTER without value to stopy
Answers
Answered by
0
Answer:
Don't know the answer
Step-by-step explanation:
so sorry
Similar questions
History,
2 months ago
English,
2 months ago
Accountancy,
2 months ago
Math,
5 months ago
History,
5 months ago
Math,
10 months ago
English,
10 months ago
Computer Science,
10 months ago