please help!!!

I don't know how to do it !!!

please help me!!

Program2


Imagine you work at a ticket sale desk at a theatre company! And you are asked to:

Write a program that reads the age of 10 customers and assesses depending on three
given criteria, whether these customers are entitled to discount or not. Note, that
customers who come to this theatre are 18 years old and above.


Please ensure that you do the following:

Create a console application (give sequence of steps)
Your program should loop 10 times:
Each time, an input is entered and referred to as ‘age of customer’
Each *input* is compared to see whether it is entitled to a discount,
according to the following three criteria:
18<= age of customer <=24: customer receives ‘junior
discount’
24< age of customer <65: customer receives no discount
age of customer > =65: customer receives ‘senior discount’
Last edited on
closed account (z05DSL3A)
1
2
3
4
5
6
7
8
9
for loop
    Prompt Ask age
    if age in range 1
        output has discount
    else if age in range 2
        output has discount
    else
        output no discount
end loop
thank you
Topic archived. No new replies allowed.