Create a switch statements


Discuss the below:

Q: Make this program using switch statements in Visual Basic/C++.

Based the tuition fee of the student to the following:

Year Code Year Name Downpayment
1 Freshmen 10% of tuition fee
2 Sophomore 15% of tuition fee
3 Junior 20% of tuition fee
4 Senior 25% of tuition fee

Course Code Course Name Rate per Unit
A BSCS 205.50
B ENGG. 195.75
C MNGT 180.50
D ARCHI 175.25

Computation: tuition fee= number of units x Rate per unit
balance of tuition fee= tuition fee - downpayment

Enter the year code, course code, number of units and output the year name, course name, tuition fee and the balance tuition fee of the student.

Solution Preview :

Prepared by a verified Expert
Visual Basic Programming: Create a switch statements
Reference No:- TGS01937369

Now Priced at $20 (50% Discount)

Recommended (97%)

Rated (4.9/5)