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% each year for the next 5 years. Design a program with a loop that displays the projected semesters tuition amount for the next five years.
//Declare Variables Declare Real tuitionIncrease, semesters, count, tuitionCost, runningTotal Constant Real tuition = 6000 //Assign values tuitionIncrease = 1.01 // 1% tuition increase per semester semesters = 10 // 10 semesters in 2 years tuitionCost = tuition*tuitionIncrease runningTotal = 0 Display “The tuition will increase 2% per year” For count = 1 To semsters runningTotal = runningTotal + tuitionCost Display “semester”, count, Tab, runningTotal End For // End of For loop
I don't think this is even in the right ballpark of correct. considering the tuition cost needs to be compounding. Any help would be appreciated.


Sign In
Create Account


Back to top









