0

# Suppose you are planning to go to park so you are going to check tickets criteria online.

Suppose you are planning to go to park so you are going to check tickets criteria online. The ticket rates details have been given *If children below 10 are not allowed to swing *If age is between 10 to 15 allowed to swing and getting 10% discount *If age is between 15 to 20 allowed to swing and getting 5% discount *If age is more than 20 not then not eligible for swing and discount The age of person will run until you enter the age of last family member and then calculate the total charge amount after entering each person's age. Assume price of ticket is 100 Rs. each person.

3 Answers

+ 2

Why are the poor children not getting to swing 😭

+ 1

Where is attempts?

+ 1

What is the problem?
You have the dot points to aim for and you need a loop to handle the input.
Once you have a code and can explain the problem, many people can help.