Question: - Also program should be written in C - Also a function should have a brief comment above its definition describing what it does. 1.

- Also program should be written in C
- Also a function should have a brief comment above its definition describing what it does.
1. College tuition and fees increase about 2% to 8% per year in the United States, write a program that calculates a university's tuition and fees per credit hour for each year for the next 20 years, using the simplifying assumption that the inflation rate will stay constant-5% per year. The output should display the anticipated tuition and fees per credit hour for the next 20 years. The program asks the user to enter the college's tuition and fees for 2018. Example input/output: Enter the university's tuition and fees per credit hour for 2018 (S): 382.73 The anticipated tuition for the next 20 years: 2019: 401.87 2020: 421.96 2021: 443.06 2038: 1015.50 1) 2) 3) Name your program tuition.c Use a for loop. Format the output to print the values to 2 decimal place
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
