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.

18th Feb 2022, 3:40 PM
Kamalesh Ray
3 Antworten
+ 2
Why are the poor children not getting to swing 😭
19th Feb 2022, 1:28 AM
Gurseerit Singh Chahal ✓
Gurseerit Singh Chahal ✓ - avatar
+ 1
Where is attempts?
18th Feb 2022, 4:27 PM
A͢J
A͢J - avatar
+ 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.
19th Feb 2022, 12:52 AM
Ausgrindtube
Ausgrindtube - avatar