ive been asked the following question.
Start with an initial principal amount and a fixed payment amount. Every month, the payment amount is added to the principal, along with th interest that the...
Type: Posts; User: bliznags
ive been asked the following question.
Start with an initial principal amount and a fixed payment amount. Every month, the payment amount is added to the principal, along with th interest that the...
ok i have this much for the loop part and i feel it is correct
total_payment = 0;
while( principal > total_payment )
{
current_interest = interest_of(principal - total_payment);...
awesome man, that did it, it works perfectly now. thank you so much for the assistance....
if it isnt so much to ask do you think you could take a gander at my other post on the forum to see if...
hey, it is still coming up witht he wrong data at the end, heres the code:
#include <stdio.h>
int main()
{
double principal, interest_rate, balance, interest;
int months, total_months,...
thanks for the nice attempt but when i entered your information in to my code, it came up with about 20+ errors.
is it possible to do this with a for loop instead of a while loop?
i must ask you how do i put printfs in the loop to test it out?
also when i ran the program it came out with the following outcome...
Enter a principal amount:
1000
Enter an annual interest...
thanks a lot, that helped make the program print out
Enter a principal amount:
1000
Enter an annual interest rate:
7
Your first month of interest will be: $5.83
Enter the number of years...
I have been to use a simple loop to count the number of months it takes to pay off a loan, and it should look like this:
Enter a principal amount:
10000
Enter an annual interest rate:
12
Your...
i have to make a program to print out the following:
Enter a principal amount:
1000
Enter an annual interest rate:
7
Your first month of interest will be: $5.83
Enter the number of years your...