Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ The Community College of Aurora is proposing a new cost structure for its courses. The plan is to charge a higher cost for higher

image text in transcribed

C++

The Community College of Aurora is proposing a new cost structure for its courses. The plan is to charge a higher cost for higher level courses in order to hiring highly skilled instructors for those courses. The course levels are as follows: 000 Level Courses - $181.55 /hour 100 Level Courses - $226.42 /hour 200 Level Courses - $250.79 / hour This new plan also includes a 3.2 percent per year cost increase for each level over the course of the next x years to bring the college closer to the national average. Instructions Design a program that first displays a menu then asks the user the number of credit hours they plan to take in one semester. Use this number to calculate the present semester tuition. The program should then display a menu that asks the user which course level to display in the report. (Note that only one course level can be displayed at a time!). Once the course level is selected, the program MUST use the per credit hour cost listed in the attached text file called tuitionAmounts.txt. Therefore, the initial tuition amounts must be read into the program from the text file and not hard- coded with the program. This allows the initial amounts to be changed in the text file and not in the code. After the tuition amounts are read, then display the tuition for the level selected for the year by multiplying the semester tuition by 2. Next, create a loop that displays the projected yearly tuition amounts for the next x years, where x is entered by the user. Therefore, the program should display x+1 years of tuition with the first year representing the present tuition costs and the subsequent years representing a 3.2 percent increase each year. Below is a representation of a sample run of your application. Your output results should be in table format and should resemble the following if the user selected 100 Level Courses: CCA Tuition Program 1.000 Level Courses 2. 100 Level Courses 3.200 Level Courses 4. Exit Program Select the course level or Exit 2 Enter the number of credit hours for this semester: 15 Enter the number of years to display (excluding year 1): 4 Community College of Aurora Tuition Report Year Tuition Year 1 $6792.60 Year 2 $7009.96 Year 3 $7234.28 $7465.78 Year 5 $7704.68 Year 4 Additional Requirements You MUST use a loop to display the years which have the percent increase. You MUST use a switch statement to evaluate the level chosen The program must loop and can only be exited by making a selection in the The output results must be written to a new text file called Tuition Report.txt. menu The Community College of Aurora is proposing a new cost structure for its courses. The plan is to charge a higher cost for higher level courses in order to hiring highly skilled instructors for those courses. The course levels are as follows: 000 Level Courses - $181.55 /hour 100 Level Courses - $226.42 /hour 200 Level Courses - $250.79 / hour This new plan also includes a 3.2 percent per year cost increase for each level over the course of the next x years to bring the college closer to the national average. Instructions Design a program that first displays a menu then asks the user the number of credit hours they plan to take in one semester. Use this number to calculate the present semester tuition. The program should then display a menu that asks the user which course level to display in the report. (Note that only one course level can be displayed at a time!). Once the course level is selected, the program MUST use the per credit hour cost listed in the attached text file called tuitionAmounts.txt. Therefore, the initial tuition amounts must be read into the program from the text file and not hard- coded with the program. This allows the initial amounts to be changed in the text file and not in the code. After the tuition amounts are read, then display the tuition for the level selected for the year by multiplying the semester tuition by 2. Next, create a loop that displays the projected yearly tuition amounts for the next x years, where x is entered by the user. Therefore, the program should display x+1 years of tuition with the first year representing the present tuition costs and the subsequent years representing a 3.2 percent increase each year. Below is a representation of a sample run of your application. Your output results should be in table format and should resemble the following if the user selected 100 Level Courses: CCA Tuition Program 1.000 Level Courses 2. 100 Level Courses 3.200 Level Courses 4. Exit Program Select the course level or Exit 2 Enter the number of credit hours for this semester: 15 Enter the number of years to display (excluding year 1): 4 Community College of Aurora Tuition Report Year Tuition Year 1 $6792.60 Year 2 $7009.96 Year 3 $7234.28 $7465.78 Year 5 $7704.68 Year 4 Additional Requirements You MUST use a loop to display the years which have the percent increase. You MUST use a switch statement to evaluate the level chosen The program must loop and can only be exited by making a selection in the The output results must be written to a new text file called Tuition Report.txt. menu

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

13th Edition Global Edition

1292263350, 978-1292263359

More Books

Students also viewed these Databases questions

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago