Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

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

Step: 3

blur-text-image

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

Databases A Beginners Guide

Authors: Andy Oppel

1st Edition

007160846X, 978-0071608466

More Books

Students also viewed these Databases questions

Question

1inken 1inken

Answered: 1 week ago