Question: CS 1 1 6 Programming Fundamentals for Computer Science Lab # 3 B Objectives To learn to code, compile and run a program containing SELECTION

CS 116 Programming Fundamentals for Computer Science Lab #3B
Objectives
To learn to code, compile and run a program containing SELECTION structures
Assignment
Write a program to calculate fees that must be paid by a student at a State university using the following values:
Each semester unit $90.00
Regular room charge per semester $200.00
Air conditioned room $250.00
Food charge for the semester $400.00
Matriculation fee (all students) $30.00
Diploma fee (if graduating student) $35.00
Input student ID number (one integer containing four digits), the type of room (regular or air conditioned), units,
and whether or not the student is graduating. Output an itemized list of student fees and a total of the student
fee owed. Check for students taking more than 21 units and students taking fewer than 12 units. Output a
message to students enrolled in more than 21 units (this is not allowed, do not process this data) or fewer than 12
units (warn them that they are not full time students but do process this data).
Input
T

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!