(IN SIMPLE PSEUDOCODE PLEASE) Design a program for Hunterville College that will
ID: 3814663 • Letter: #
Question
(IN SIMPLE PSEUDOCODE PLEASE) Design a program for Hunterville College that will display the projected tuition rate for the next 10 years. The current tuition is $15,000 per year and will increase by 4 percent next year, and every year after that the tuition increase is expected to be 0.5 more (thus 4%, then 4.5%, then 5%, etc).
The output should be:
Year Tuition
1 15,600.00
2 16,302.00
3 17,117.10
4 18,058.54
5 19,142.05
6 20,386.29
7 21,813.33
8 23,449.33
9 25,325.27
10 27,477.92
You will display your output in columns with column headings.
There will be no input to this program.
You do not need to perform any error checking of user input for this program.
Explanation / Answer
Here is the pseudocode for you:
PseudoCode to display tuition fee:
1. tuitionFee = 15000.00
2. year = 1.
3. percent = 4.0.
4. tuitionFee = tuitionFee * (1 + percent / 100)
5. print year, tuitionFee.
6. year += 1.
7. percent += 0.5.
8. if year <= 10, go to step 4.
9. End.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.