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 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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?

2nd Feb 2022, 3:20 PM
Ashish Kumar
8 Answers
+ 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!
2nd Feb 2022, 4:37 PM
Lothar
Lothar - avatar
+ 1
2nd Feb 2022, 3:24 PM
Jayakrishna 🇮🇳
+ 1
But i did it
2nd Feb 2022, 4:48 PM
Ashish Kumar
+ 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
2nd Feb 2022, 5:06 PM
NEZ
NEZ - avatar
+ 1
Kris Show your code
21st Jun 2022, 3:35 PM
NEZ
NEZ - avatar
0
Ok
2nd Feb 2022, 4:47 PM
Ashish Kumar
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
15th Feb 2022, 5:03 PM
Vinod Shenoy
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
21st Jun 2022, 12:10 PM
Kris