Question 1
An organization is conducting eye checkup camp, number of people allowed for Registration is 10,
A Person is supposed to enter his age for registration
If an senior citizen above 60yrs age registers then he is shifted to another queue which will be 2nd queue, now two separate queues are created for checkup.
2nd queue will be for senior citizens.
If number of people in 2nd queue becomes 5 then shifting of senior citizens from 1st queue to 2nd queue is stopped
Suppose eye checkup takes approximately 15 mins per person, then calculate the total number of time taken for checkup by first queue and second queue
respectively
Number of Person Registrations 'N' for checkup, 1<=N<=10
Age of Person, 'A 10<=A=100
Note
1. Output should be in the format
QUEUE1 TIME integer mins
QUEUE2 TIME integer mins
2 If age is below 10 or above 100 display "INVALID INPUT"
Answers
Answered by
0
Answer:
..........
Explanation:
Plz Mark me as Brainliests......
Similar questions