Search:

Type: Posts; User: calis1621

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,237

    Well I posted that post pre-maturly I found the...

    Well I posted that post pre-maturly I found the error. But the auctions are not adding up?
  2. Replies
    2
    Views
    1,237

    Segmentation fault: 11?

    I'm getting a segmentation fault:11 after I run the code. I'm new to programming and not sure what the fault is. Any help would be appreciated.

    My code is:



    # include <stdio.h>
    # include...
  3. Thread: Adding?

    by calis1621
    Replies
    5
    Views
    833

    Yes you are correct about the investments. These...

    Yes you are correct about the investments. These are the what the option choices are.

    Option 1:
    Prompt the user for their donation amount. Add this amount to the balance of the fund.

    Option...
  4. Thread: Adding?

    by calis1621
    Replies
    5
    Views
    833

    Heres what a sample run should be... Welcome!...

    Heres what a sample run should be...

    Welcome!
    What is the initial balance of the fund?
    15000

    What would you like to do?
    1 - Make a donation
    2 - Make an...
  5. Thread: Adding?

    by calis1621
    Replies
    5
    Views
    833

    Adding?

    Hey I'm working on this program and the last thing I need to do is in case 3, adding how many investments would be made and how many donations would have been made. How do I do that?



    int...
  6. Thread: if else help

    by calis1621
    Replies
    18
    Views
    2,102

    Well now I'm confused again. Checking the funds...

    Well now I'm confused again. Checking the funds with:



    if funds > PREFERRED_DISTRIBUTION_MINIMUM_FUNDS_REQUIRED
    award preferred counts of BEST and MEDIUM
    award as many scholarships...
  7. Thread: if else help

    by calis1621
    Replies
    18
    Views
    2,102

    Okay, this is working but I'm still not knowing...

    Okay, this is working but I'm still not knowing how to only have 5 1000 10 500 and the rest of the funds go to 250. When i was dividing the 5000 it was working that way and only putting 5000 in...
  8. Thread: if else help

    by calis1621
    Replies
    18
    Views
    2,102

    No problem about the else. But I'm so close to...

    No problem about the else. But I'm so close to this working 100%, I think. Right now the code that I have seems to just not do the equation for the 250 right. It will put the amount in 1000 and the...
  9. Thread: if else help

    by calis1621
    Replies
    18
    Views
    2,102

    [QUOTE=MutantJohn;1177344]You need to use else...

    [QUOTE=MutantJohn;1177344]You need to use else statements too. Did you know that if 123 > 100, it is also greater than 50 and 25?

    So just write like this instead :


    if ( ) {

    /* Pro code...
  10. Thread: if else help

    by calis1621
    Replies
    18
    Views
    2,102

    I'm not sure what you mean by this. I'm new to...

    I'm not sure what you mean by this. I'm new to programming and this is only the 3rd program I've done. I feel like I may be complicating it more then it needs to be. :frown:
  11. Thread: if else help

    by calis1621
    Replies
    18
    Views
    2,102

    if else help

    I'm getting stuck with this problem. Which I'm sure will end up being a duh moment, but I'm stuck. I have also seen other people post the same problem and I could correct how they have it but I would...
Results 1 to 11 of 11