225k views
2 votes
5. Tuition Increase

At one college, the tuition for a full-time student is $6,000 per semester. It
has been announced that the tuition will increase by 2 percent each year
for the next five years. Design a program with a loop that displays the
projected semester tuition amount for the next five years.

PSEUDOCODE ONLY

1 Answer

5 votes

Answer:

SET tuition = 6000

DISPLAY "Year 1: $" + tuition

FOR year FROM 2 to 5 DO

SET tuition = tuition + (tuition * 0.02)

DISPLAY "Year " + year + ": $" + tuition

ENDFOR

Step-by-step explanation:

The above pseudocode should display the projected tuition amount for each year for the next five years, assuming a 2% increase in tuition each year.

User Gpuguy
by
7.9k points