Search:

Type: Posts; User: bliznags

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,391

    please help me with this loop

    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...
  2. Replies
    5
    Views
    6,052

    ok i have this much for the loop part and i feel...

    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);...
  3. Replies
    11
    Views
    8,261

    awesome man, that did it, it works perfectly now....

    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...
  4. Replies
    11
    Views
    8,261

    hey, it is still coming up witht he wrong data at...

    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,...
  5. Replies
    5
    Views
    6,052

    thanks for the nice attempt but when i entered...

    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?
  6. Replies
    11
    Views
    8,261

    i must ask you how do i put printfs in the 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...
  7. Replies
    11
    Views
    8,261

    thanks a lot, that helped make the program print...

    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...
  8. Replies
    5
    Views
    6,052

    while loop help

    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...
  9. Replies
    11
    Views
    8,261

    compound interest

    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...
Results 1 to 9 of 9