Answers
ೇೇೇ್
್್್ರೆಕ್ಸ್ಯ್ಯಂಕ8'5?88?!8'88??8!8'5?58/8,ಂಿ,್ೀೀೇ೬ೀೇೇ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 2 queue, now
two separate queues are created for checkup.
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
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 Java