Question
In this module you learned about making loops in C++ and how to combine them with the material from the first few modules to solve
In this module you learned about making loops in C++ and how to combine them with the material from the first few modules to solve problems.
For this assignment, you will write a C++ program that calculates a rate increase for a gym membership. Consider the following scenario:
A gym membership, which currently charges $600 per year for membership, has announced that it will increase its membership fee by 2 percent each year for the next three years.
Write a program that uses a loop to display the projected rates for the next three years. Be sure to include comments throughout your code where appropriate.
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