0

# You are making a ticketing system. The price of a single ticket is $100. For children under 3 years of age, the ticket is fre

Stuck in lession 21 anyone can solve this?

8 Respuestas

+ 2

Ashish Kumar ,
to get useful help from the community, you need to post your code, so that we can see where the issue is.
thanks for your understanding!

+ 1

Pls Share your attempt here...
https://www.sololearn.com/discuss/333866/?ref=app

+ 1

But i did it

+ 1

Ashish Kumar
Have you tried to solve this problem??
If yes, then post the code in the answers (or in the question and alert us).
If not, then do try your attempt towards this problem

+ 1

Kris
Show your code

0

Ok

0

You are making a ticketing system.
The price of a single ticket is $100.
For children under 3 years of age, the ticket is free.
Your program needs to take the ages of 5 passengers as input and output the total price for their tickets.
Note:There is one child under 3 among the passengers, so the total price of 5 tickets is $400
this is my question

0

I noticed that the 'Solution' is actually incorrect, I wrote something similar prior and couldn't get it to work. Checked the solution, typed it line by line and it's still showing as wrong