Question
I need a Pseudo-code for this problem that is NOT java or python. Problem Statement At one college, the tuition for a full-time student is
I need a Pseudo-code for this problem that is NOT java or python.
Problem Statement
At one college, the tuition for a full-time student is $6000 per year. It has been announced that the tuition will increase by two percent each year for the next five years. Design a program with a loop that displays the projected tuition amount for the next five years.
Your program should include the following:
-
Module main. Assigns the tuition for one year to a variable. Calls calcTuition, passing the starting tuition.
-
Module calcTuition. Accepts the starting tuition and uses a loop to calculate/display tuition for each of five years.
Expected Output
Your results should be similar to the following:
The tuition in year 1 is 6000.0
The tuition in year 2 is 6120.0
The tuition in year 3 is 6242.4
The tuition in year 4 is 6367.248
The tuition in year 5 is 6494.59296
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started