Search:

Type: Posts; User: cboard

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    1,561

    I forgot to put the second code in my last post...

    I forgot to put the second code in my last post sorry! But yeah that makes perfect sense, do you mine writing me a psuedo code for that second code? If you don't mind of course
  2. Replies
    8
    Views
    1,561

    Oh I see, I was confused as to what the...

    Oh I see, I was confused as to what the relationship between count1 and count2 was. So for this code, the first part sets freq[1]-freq[4] equal to zero? Then I'm not sure what the second part is...
  3. Replies
    8
    Views
    1,561

    please walk me through this code

    Can somebody please walk me through this problem and show me how you get an output of:
    [0]
    [14]
    [28]

    I've been looking at it for the past 30 minutes and I still can't figure out how this code...
  4. Thread: address book

    by cboard
    Replies
    10
    Views
    2,273

    yeah your probably right, i absolutely see no...

    yeah your probably right, i absolutely see no reason as to why it shouldn't be working. Oh and i changed the condition in case 2
  5. Thread: address book

    by cboard
    Replies
    10
    Views
    2,273

    ah i see, thanks for looking into that for me....

    ah i see, thanks for looking into that for me. They want the input to be in this format, it makes a bit more complicated i agree. Ill double check the inputs and see if I find anything off
  6. Thread: address book

    by cboard
    Replies
    10
    Views
    2,273

    I made all the changes you suggested. When I come...

    I made all the changes you suggested. When I come to print the menu after making 3 entries, it will print out a bunch or random characters for the first 2 entries. I just need this to work correctly...
  7. Thread: address book

    by cboard
    Replies
    10
    Views
    2,273

    really? Im using DevC++ and its not working for...

    really? Im using DevC++ and its not working for me...what program are you using to run it if you dont mind me asking? also what does seg fault mean?
  8. Thread: address book

    by cboard
    Replies
    10
    Views
    2,273

    address book

    I wrote an address book program with everthing functioning well. When I choose the print_entry option, it is supposed to print out all 3 entries that i put in, however it only prints out the most...
  9. Replies
    17
    Views
    4,374

    haha man im stupid:( thanks for the help though i...

    haha man im stupid:( thanks for the help though i really appretiate it
  10. for the decimal conversion would this work: ...

    for the decimal conversion would this work:



    if (*apr[9]==%)
    {
    *apr = (*apr)/100;//if apr contains a percent sign, it will be converted to decimals
    }
  11. Replies
    17
    Views
    4,374

    laaaaaast question. I have to get the total...

    laaaaaast question.

    I have to get the total payments made and the total interest paid so I placed the following in the loop also:

    (payment += ATI) and (ATI += ATI)
    The first is supposed to...
  12. Oh sorry man, this is actually a part of a much...

    Oh sorry man, this is actually a part of a much larger code. I just tried to take out the important part of the code that applies to the case conversion. I wasn't trying to compile that one part on...
  13. convering lowercase to upper case and percent to decimal

    For the case converting, would it be something like this? (Im trying to converst just the first letter):



    include <stdio.h>
    include <ctype.h>

    int main()
    {
    char first_name[26];
  14. Replies
    17
    Views
    4,374

    Ah that got it working, thank you sir.

    Ah that got it working, thank you sir.
  15. Replies
    17
    Views
    4,374

    Okay I got it to work and I got the format down...

    Okay I got it to work and I got the format down and everything, but it doesnt update the payments as the month increases?





    for(n=1;n<=loan_term;n++)
    {
    calc_loan...
  16. Replies
    17
    Views
    4,374

    Okay heres what I did now: ...

    Okay heres what I did now:



    for(n=0;n<=loan_term;n++)
    {
    if(n%12==0)
    { k++;
    printf("%4d\t%10.2f\t %6.2f\t %10.2f\t %10.2f\n",loan_term, payment, *ATI,*ATP,*RP);
    }
  17. Replies
    17
    Views
    4,374

    Im looking for an output similar to this: ...

    Im looking for an output similar to this:

    Customer #: 0000001234
    John Doe
    205 E 5th Ave
    New York, New York
    (563)563-5639...
  18. Replies
    17
    Views
    4,374

    Thanks again for all the input, I took all your...

    Thanks again for all the input, I took all your advice and modified my code a bit. Last thing I need it to do is print out each month and the interent, principal and remaining balance to go along...
  19. Replies
    17
    Views
    4,374

    So I should change it to float*loan_amount?

    So I should change it to float*loan_amount?
  20. Replies
    17
    Views
    4,374

    Well its supposed to work where the user is asked...

    Well its supposed to work where the user is asked to input a bunch of information, of which include loan amount. Then I want the loan amount, apr, and loan term that the user inputs to be plugged...
  21. Replies
    17
    Views
    4,374

    interest formula

    good evening all, im in the process of writing a code that will calculate loan payments. I made the equation for the interest formula, but when I compile it, I get the error:
    "called object is not a...
Results 1 to 21 of 21