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.
queue will be for senior citizens.
If number of people in 2nd queue becomes 5 then
shifting of senior citizens from 1st
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.
queue to 2nd
Number of Person Registrations 'N' for checkup,
1<=N<=10
Age of Person, 'A 10<=A<=100
Answers
Answered by
1
Answer:
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.
queue will be for senior citizens.
If number of people in 2nd queue becomes 5 then
shifting of senior citizens from 1st
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.
queue to 2nd
Number of Person Registrations 'N' for checkup,
1<=N<=10
Age of Person, 'A 10<=A<=100
Similar questions