[code]
#include <iostream>
using namespace std;
int main() /*function main*/
{
float bal = 0;
int months = 0;
float deposit = 0;
int month = 0;
float dep = 0;
cout <<"Please enter the your balance $: (-1 to stop) ";
cin >> bal;
cout <<"How many months has the account been opened?: (-1 to stop) ";
cin >> months;
while (months >=1)////start loop
{
cout <<"Please enter any deposits $: (-1 to stop) ";
cin >> dep;
if (bal == -1)
break; //get out of the loop
else;
month--;
bal += dep;
cout <<"Your balance is" << bal <<; ?sytax error here?
return 0;
[code]
}