I need serious help with the program I am writing. Here are the requirements.
Its bank account program. The program asks the user for the amount deposited for the month.
2. It asks the user for the amount withdrawn for the month.
3. It calculates the amount of monthly interest. (the monthly intererst rate is the annual rate divided by twelve)
4. at the end of each iteration, it displays the ending balancce, the total amount of deposits, total amount of withdrawals, and total interest earned.
I am a beginner programmer who doesnt have a good working knowledge of coding. What I have so far is below:
Any help that can be offered would be greatly appreciated. I am not asking for anyone to write the program for me, I just need help getting the part I have working and completing step3. Thanks
void main ( )
double Total = 0.0;
printf("For how many months do you have savings account? \n");
scanf("%d", & Month);
printf("Enter the amount deposited for Month %d: ", Count);
scanf("%d", & amount);
printf("Amount should be subtracted from balance.");
printf("Enter amount withdrawn from savings account? \n");
scanf("%f", & amount);