A computerized ticket counter of an undergoing metro rail station charges for
ride at the following rates:
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 information about accompanying kid in yes (Y or y or N or n) in character form. Print the output including number of person, age of each person and total amount to be as fair on above criteria.
..............just give a snippet of the program......the main part....
Attachments:
Answers
Answered by
0
Answer:
my online thus is going on after class I will. answer you this question very well not this first hello hello please please excuse me
Similar questions