Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

by java please, not c++ Exercise #4: The university tuition fees is calculated based on the following: - Undergraduate student: 60 AED registration fees plus:

by java please, not c++ image text in transcribed
Exercise \#4: The university tuition fees is calculated based on the following: - Undergraduate student: 60 AED registration fees plus: i. IT Program: 900 AED per one credit hour. ii. Engineering Program: 930AED 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: u 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: 26300AED Run \#2: Enter your name: Fatema Enter the number of credits: 16 Enter (u, or U) if undergraduate or (g, G) if graduate: G 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

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

More Books

Students also viewed these Databases questions

Question

=+What would you do? Explain.

Answered: 1 week ago