double sum = 0;
for (int i = age; i < 65; i++)
{
sum = sum + stSalary;
stSalary = stSalary * 1.05;
}
solved I want to know where the error in my calculations ! 🙁 [closed]
double sum = 0;
for (int i = age; i < 65; i++)
{
sum = sum + stSalary;
stSalary = stSalary * 1.05;
}
solved I want to know where the error in my calculations ! 🙁 [closed]