Search:

Type: Posts; User: scoketboy

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,396

    Never mind! I got it. I don't even know what I...

    Never mind!
    I got it. I don't even know what I did, but it works now.
    I did set the avg profit to float. Maybe that was it.
    thanks for your help
  2. Replies
    4
    Views
    1,396

    Do you have to float things that will be using a...

    Do you have to float things that will be using a decimal number even if the output isn't a decimal?
  3. Replies
    4
    Views
    1,396

    All of the correct outputs are integers except...

    All of the correct outputs are integers except for average profit. So I will need to change that, but that shouldn't affect the other outputs

    This is what the output is supposed to be ...
  4. Replies
    4
    Views
    1,396

    problem getting decimal not to = 0

    Ok here is my program


    /*
    Project 5 solution
    11/14/2005
    by Phil Pliuskonis
    */
  5. Thread: Array help

    by scoketboy
    Replies
    2
    Views
    945

    Exactly what i am looking for. Thanks. :D I...

    Exactly what i am looking for. Thanks. :D

    I think I need to start looking for other resources for coding (like the main part of this site) because I was going off of my book and it did not have...
  6. Thread: Array help

    by scoketboy
    Replies
    2
    Views
    945

    Array help

    Hi,
    this is a school assignment and I am stuck.
    I have 3 one dimensional arrays, I think 2 dimensional might be easier, but this is what the assignment calls for.

    Now what I have is this:
    ...
  7. Replies
    7
    Views
    1,675

    Wow perfect. Thank you very much. I could have...

    Wow perfect. Thank you very much. I could have sworn that I had already tried that, but that must have been when I still had them declared under int, and not float.
    Thanks again :)
  8. Replies
    7
    Views
    1,675

    Sorry am I missing something? I thought they were...

    Sorry am I missing something? I thought they were stored in float(s)?
    Or am I just not seeing it?
  9. Replies
    7
    Views
    1,675

    decimal being stored as 0

    Hi, this is only the second program I have ever done in C. It is for my college class, and it is driving me crazy. I think I got it all right, but for some reason on the first two imputs, it acts...
Results 1 to 9 of 9