I am currently enrolled in Fundamentals of programming. We are using Introduction of Programming using C++ and we just got done with chapter 7. The problem the teacher wants us to work on is:
Effective Jan 1st of each year, Gab receives 5% raise on her previous years salary . She wants a program that calculates and displays the amount of her annual raises for the next three years. The program also should calculate and display her total salary for 3 years.
We haven't gotten into nested looping, or any linkers other than iomanip and iostream.
I am having problem coding when I try it out it ends up infinitely looping. Can anyone help?