Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Create a C# Console Application project to compute the tuition fee a student should pay. In this part of the assignment, you are required

1. Create a C# Console Application project to compute the tuition fee a student should pay. In this part of the assignment, you are required to create a C# Console Application project. Project name should be A2P1. For example a student with first name John and Last name Smith would name the project A2JohnSmithP1. Step 1: Ask if a student is a Canadian Citizen or an International Student. Also ask for their age. You must use an If-Else-Elseif statement. Logic: If the student's age is 18 or below, they must pay $300 + 13% HST If the student is aged 19 to 49, they must pay $500 + 13% HST If the student is aged 50 or above, they must pay $400 + 13% HST If the student is an international student, they must pay an extra $100 before tax is applied. Step 2: Ask for the month the student registered. You must use a switch statement. Logic: If they registered in any of the Fall months (Sept., Oct., Nov., or Dec.), add $250 + 13% HST If they registered in any of the Winter months (Jan., Feb., Mar. or Apr.), add $220 + 13% HST If they registered in any of the Summer months (May, Jun., Jul. or Aug.), add $150 + 13% HST Calculate the total tuition a student owes by adding up the value obtained in Step 1 and Step 2. Show the total tuition fee on the C# Console application. The display will look something like this: The Student's age (as entered) International Student (or not) (as entered) Registration Semester (as entered) Base Tuition (as calculated by the application) International Student fee (if applicable, as calculated by the application) Registration Fee for semester (as calculated by the application) HST (as calculated by the application) Final Total (as calculated by the application)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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_2

Step: 3

blur-text-image_3

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

Practical Neo4j

Authors: Gregory Jordan

1st Edition

1484200225, 9781484200223

More Books

Students also viewed these Databases questions

Question

What are our strategic aims?pg 87

Answered: 1 week ago