Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercise #4: The university tuition fees is calculated based on the following: - Undergraduate student: 60AED registration fees plus: i. IT Program: 900 AED per
Exercise \#4: The university tuition fees is calculated based on the following: - Undergraduate student: 60AED registration fees plus: i. IT Program: 900 AED per one credit hour. ii. Engineering Program: 930 AED per one credit hour. iii. Sciences Program: 820 AED per one credit hour. - Graduate student: 250 AED registration fees plus 1200 Dirhams per one credit hour. Write a program that prompts the user to enter the number of credits and whether the student is a graduate ( g or G ) or an undergraduate ( u or U ). If the student is undergraduate, then ask for more details, whether s/he belongs to the IT or Sciences Programs (i, I, e, E, s, or S). Sample Input/Output: Run \# 1 : Enter your name: Aisha Enter the number of credits: 32 Enter (u, or U) if undergraduate or (g, G) if graduate: What is your program (i/I, e/E, s/S)? S Dear Aisha, For an undergraduate student in the Sciences Program, The tuition fees for 32 credit hours is: 26300 AED Run \#2: Enter your name: Fatema Enter the number of credits: 16 Enter (u, or U) if undergraduate or ( g,G) if graduate: Dear Fatema, For a graduate student, The tuition fees for 24 credit hours is: 19450 AED
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