Computer Science, asked by DrArrynMorgan, 1 year ago

A computerized ticket counter of an undergoing metro rail station charges for
ride at the following rates:
Age Amount to be paid
18 years or above Rs 7/-
5 years or above but below 18 years Rs 4/-
Accompanying kid below 5 years No charges
Write a program to accept number of person, age of each person and also
information about accompanying kid in yes (Y or y or N or n) in character
from. Print the output including number of person, age of each person and
total amount to be as fair on above criteria. The input and output should be
in the given format.
Example: input:
Number of person: 2
Age of first: 19
Age of second: 14
Any kid (Y/ N): y

Answers

Answered by lingalahasinir
3

Answer:

too long make short

Explanation:

Answered by vaishnavidutt1501232
0

Answer:

this question is not mandatary for class 10 it is not in the book how to solve it

Similar questions