Question
Write a VBA program to calculate the total amount of tuition plus university fees that a student has to pay each semester at a certain
Write a VBA program to calculate the total amount of tuition plus university fees that a student has to pay each semester at a certain university. Any student taking 12 or more credits is considered a full-time student, otherwise the student is a part-time student. A full-time student taking 12 to 20 credits (inclusively) pays a regular tuition of $14,000.00 per semester. A student taking more than 20 credits must pay an extra $800.00 of tuition for each credit in excess of 20. A part-time student pays a tuition of $900.00 per credit. A student, whether full-time or part-time, must also pay university fees. The total of these fees is given by a flat amount of $500 plus $30.00 for each credit taken. Your program should ask the student to input the last name, (or anything else you may want to add or leave out here), and the state they come from. If they are from any states other than Iowa, Minnesota, or Illinois they are charged an additional $1000 fee. The student should then be asked to enter the total number of credits he or she is taking. The program then displays the total tuition, fees, and the total balance (equals to the sum of the total tuition and fees) in the form as shown in the following examples. Use a variable of type Double to represent any tuition or fees, since they may have fractional parts in general.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started