Search:

Type: Posts; User: Excelisus

Search: Search took 0.02 seconds.

  1. Replies
    23
    Views
    5,329

    See, this is why it takes me so much time to do...

    See, this is why it takes me so much time to do this. I can't see simple stuff like that. I corrected that to double. But the code is still obviously wrong because I can't get a negative average and...
  2. Replies
    23
    Views
    5,329

    Ok, I cleaned up the code and took your advice....

    Ok, I cleaned up the code and took your advice. If I understood various nuances and pet peeves, I'd be a better programmer. I do welcome any structural comments. My averages though still yield zero....
  3. Replies
    23
    Views
    5,329

    I still haven't look at the code - I can't until...

    I still haven't look at the code - I can't until I have access on my other computer when I can run the program + debugging mode. But basically the power portion is inherent in the loop itself. This...
  4. Replies
    23
    Views
    5,329

    Ok, let's see if this makes it clear: I take...

    Ok, let's see if this makes it clear:

    I take 1000 random numbers between 0 and 1. I need two things from here:

    1. Generate the sum of all these numbers.
    2. Generate the AVERAGE of these...
  5. Replies
    23
    Views
    5,329

    Could you be more specific about including y=y*x...

    Could you be more specific about including y=y*x in the loop? I thought it is already in the loop.
  6. Replies
    23
    Views
    5,329

    That's a separate issue, but it's because I don't...

    That's a separate issue, but it's because I don't know much about C. I use Code Blocks and used the help files to extract the format written there.
  7. Replies
    23
    Views
    5,329

    Random Number Generator - Error

    Hey guys. I know little about programming. I have made this code with some help, but there is still a problem with it. I am basically trying to create a random number generator that will calculate...
Results 1 to 7 of 7