Question

In Access, design a program for Hunterville College. The current tuition is $20,000 per year, and...

In Access, design a program for Hunterville College. The current tuition is $20,000 per year, and tuition is expected to increase by 3 percent each year. In a list box, display the tuition each year for the next 10 years.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution:

C++ Code:

#include <iostream>

using namespace std;

int main() {
double tuition = 20000; // set tuition to 20000
cout << "Tuition for next 10 years are" << endl;
for (int i = 0; i < 10; ++i) { // calculate for next 10 years
tuition *= 1.03; // increase tuition by 3%
cout << tuition << endl; // print tuition amount
}
return 0;
}

Output:

Add a comment
Know the answer?
Add Answer to:
In Access, design a program for Hunterville College. The current tuition is $20,000 per year, and...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT