Im having a hard time where to start with this assignment. Obviously I did the easy part now its time for the loop which i just dont get.

heres how the program will run**Enter the initial balance ===> 1000**

Enter the number of months to cover: ===> 3

Enter the annual interest rate (decimal format; e.g., 5 not .05) ===> 10

Enter the amount deposited for month 1 ===> 500

Enter the amount withdrawn for month 1 ===> 400

Enter the amount deposited for month 2 ===> 600

Enter the amount withdrawn for month 2 ===> 700

Enter the amount deposited for month 3 ===> 800

Enter the amount withdrawn for month 3 ===> 900

Starting balance: $ 1000.00

Total amount deposited: $ 1900.00

Total amount withdrawn: $ 2000.00

Total interest earned: $ 25.64

Final balance: $ 925.64

so far my code lol

```
#include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
int main()
{
int startbalance, months;
float rate;
cout <<"Enter the initial balance:";
cin >> startbalance;
cout <<"Enter the number of months to cover:";
cin >> months;
cout <<"Enter the annual interest rate (decimal format; e.g., 5 not .05:";
cin >> rate;
system("pause");
return 0;
}
```

yeah i know its not much but i can sure use a hand. am i going to use "while" "do" "for" "count++" for this assignment?