Question
Need following pseucode converted to c++ // Start //Declarations //number currentTuition //number futureTuition //number interestRate //number numYears //number year // //output Please enter current tuition:
Need following pseucode converted to c++
// Start
//Declarations
//number currentTuition
//number futureTuition
//number interestRate
//number numYears
//number year
//
//output "Please enter current tuition: "
//input currentTuition
//output "Please enter interest rate (e.g. 9.0 for 9 percent): "
//input interestRate
//output "Please number of years for tuition: "
//input numYears
//output "Tuition at year 1 is ", currentTuition
//
//futureTuition = currentTuition
//for year = 2 to numYears
//futureTuition = futureTuition * (1 + interestRate/100)
//output "Tuition at year ", year ,"is ", futureTuition
//endfor
// Stop
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