Search⌘ K
AI Features

Exercise: Investment Growth Calculator

Explore how to use loops to model an investment growth calculator by applying a fixed 5% annual interest rate over 10 years. Learn to update and print the investment balance each year, reinforcing control flow and program logic in C++.

Problem statement

You are writing a tool for a ...