Create a Sub procedure in Module with appropriate variables, or constants,and data types to calculate...
70.2K
Verified Solution
Question
Accounting
Create a Sub procedure in Module with appropriate variables, or constants,and data types to calculate the total amount of tuition and fees that a student has to pay. Different academic programs charge course fees differently. The course fee table is available on the next page.
Any student taking 4 or more courses in a semester is considered a full-time student, otherwise the student is considered a part-time student. All full-time students must pay regular university fees, charged at $1,500 plus $300 for each course taken. Part-time students pay a reduced regular university fees, charged at $1,500 plus $150 for each course taken.
For local students:In addition to the regular university fees, a local student must pay a tuition based on the local student fee per course, as given in the course fee table below. A local student taking more than 7 courses must also pay an extra $1,000 of tuition per course in excess of 7.
For non-local students:In addition to the regular university fees, a non-local student must pay a tuition based on the non-local student fee per course, as given in the course fee table below. For any extra credits exceeding the 7 courses limit will be charged an additional $2,500 per course. Non-local students must take at least 4 courses per semester.
Your application should use input box functions (traditional input boxes) to prompt the user to input all mandatory information, including(1) full name, (2) gender:male or female, (3) academic program code, and (4) status:local or non-local.Then the user needs to enter the total number of courses he or she is taking.The application should incorporate appropriate data validation and error handling mechanisms to avoid input/execution error and display the fees results. It calculates the fees and displays students full name, faculty, academic program code and name, tuition fee, university fees, and the total fees(equals to the sum of the tuition fee and university fees)with appropriate currency format, icon, title and current date. If the response of the result message box is to retry, the application will show all the input boxes and repeat the process again. If the response is to cancel, the application ends.
Get Answers to Unlimited Questions
Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!
Membership Benefits:
- Unlimited Question Access with detailed Answers
- Zin AI - 3 Million Words
- 10 Dall-E 3 Images
- 20 Plot Generations
- Conversation with Dialogue Memory
- No Ads, Ever!
- Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Other questions asked by students
StudyZin's Question Purchase
1 Answer
$0.99
(Save $1 )
One time Pay
- No Ads
- Answer to 1 Question
- Get free Zin AI - 50 Thousand Words per Month
Unlimited
$4.99*
(Save $5 )
Billed Monthly
- No Ads
- Answers to Unlimited Questions
- Get free Zin AI - 3 Million Words per Month
*First month only
Free
$0
- Get this answer for free!
- Sign up now to unlock the answer instantly
You can see the logs in the Dashboard.