Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a C# application by using (required Controls of your own choice) a program that can be used to determine the total amount a family

Create a C# application by using (required Controls of your own choice) a program that can be used to determine the total amount a family needs to pay for bus tickets. The price for a bus ticket is linked to the age of the passenger, as indicated in the table below: Age price Younger than 5 is (50 Rupees) 6 - 12 (100 Rupees) 13 or more (300 Rupees) The program must prompt the user for the number of family members who will be travelling on the bus. For each travelling member the age must be entered, and the price determined and displayed. When all family members have been processed, the total amount due must be displayed. Monetary amounts must be displayed with currency . (You may assume that only valid ages will be entered)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Sure Below youll find stepbystep instructions to create a C application that calculates the total amount a family needs to pay for bus tickets based on the age of each family member The application wi... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

App Inventor

Authors: David Wolber, Hal Abelson

1st Edition

1449397484, 9781449397487

More Books

Students also viewed these Programming questions