Overview

Presently at the Community College of Aurora (CCA), the standard cost per credit hour is $274.41. However, the college plans to increase the cost per credit hour by 2 percent each semester for the foreseeable future. This 2 percent increase only occurs after the students' first semester of courses.

Instructions

Design a program that first asks the user to enter the number of semesters they plan to take courses at CCA. You must then obtain the number of credit hours they plan to take in each of those semesters. Then display a tuition report that first display the first semester's tuition with not tuition increase. Next, you will create a loop that displays the projected semester tuition amounts for the remaining semesters.

Note: Each example below shows the program run from the beginning! Also remember, you don't need to code the input lines, which are the italicized lines.

(1) Obtain the number of semesters the student plans to attend CCA.

Ex.

CCA Tuition Increase Program
----------------------------

Enter the number of semesters you wish to attend CCA:
4

(2) Use a loop to enter the credit hours for each of the semesters the students states that he or she will attend.

Ex.

CCA Tuition Increase Program
----------------------------

Enter the number of semesters you wish to attend CCA:
4
Enter the number of credit hours in semester 1:
15
Enter the number of credit hours in semester 2:
12
Enter the number of credit hours in semester 3:
9
Enter the number of credit hours in semester 4:
6

(3) Display the first semester's tuition inside the tuition report.

Note: Remember to uncomment the report header, which has been coded for you before submitting for grading.

Ex.

CCA Tuition Increase Program
----------------------------

Enter the number of semesters you wish to attend CCA:
4
Enter the number of credit hours in semester 1:
15
Enter the number of credit hours in semester 2:
12
Enter the number of credit hours in semester 3:
9
Enter the number of credit hours in semester 4:
6

Tuition Increase Report
-----------------------

Semester Tuition
-------- -------
Semester 1 $ 4116.15

(4) Use a loop to display the tuition for the remaining semesters

Ex.

CCA Tuition Increase Program
----------------------------

Enter the number of semesters you wish to attend CCA:
4
Enter the number of credit hours in semester 1:
15
Enter the number of credit hours in semester 2:
12
Enter the number of credit hours in semester 3:
9
Enter the number of credit hours in semester 4:
6

Tuition Increase Report
-----------------------

Semester Tuition
-------- -------
Semester 1 $ 4116.15
Semester 2 $ 3358.78
Semester 3 $ 2569.47
Semester 4 $ 1747.24
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.