Search:

Type: Posts; User: g3tb0mbed

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    711

    *meant to say 60 - 100

    *meant to say 60 - 100
  2. Replies
    2
    Views
    711

    Array help with multiple functions?

    My assignment is to first:
    1. create a program to generate 100 random grades from 50-100
    2. display them in 5 rows of 20 grades
    3. display the average of the grades as a float
    4. display the most...
  3. Thread: Array help?

    by g3tb0mbed
    Replies
    9
    Views
    902

    It is an array of integers. And the only way i...

    It is an array of integers. And the only way i was taught was


    int x[500] = {42, 42, 42, ...};

    Which is why im asking for help
  4. Thread: Array help?

    by g3tb0mbed
    Replies
    9
    Views
    902

    I was thinking if i were to generate a random...

    I was thinking if i were to generate a random number between say 10 and 20 i could do

    int r = rand() % (21 - 10) + 10;

    Is there a more efficient way?
  5. Thread: Array help?

    by g3tb0mbed
    Replies
    9
    Views
    902

    Array help?

    How would i go about loading an array with random numbers with in a range. For example, loading an array of 500 elements with random numbers in the range of 50-100.

    Thank you for your help :)
  6. Replies
    17
    Views
    3,501

    No that definitely wont be acceptable. Sorry its...

    No that definitely wont be acceptable. Sorry its my fault im really new to this and missed the first two weeks of class due to being in the hospital. Ill go through the textbook again and see if i...
  7. Replies
    17
    Views
    3,501

    Could i start my program off with just that...

    Could i start my program off with just that printf statement and then use for loops for the rest of the pyramid?
  8. Replies
    17
    Views
    3,501

    In order to do that all i would need is a single...

    In order to do that all i would need is a single printf statement

    printf("0000000000");

    How exactly does this help me
  9. Replies
    17
    Views
    3,501

    I honestly don't know where to start or I...

    I honestly don't know where to start or I wouldn't be asking this question
  10. Replies
    17
    Views
    3,501

    Any help is appreciated...

    Any help is appreciated...
  11. Replies
    17
    Views
    3,501

    Creating program using for loops

    I need to create a program that gives this output

    0000000000
    999999999
    88888888
    7777777
    666666
    55555
    4444
    333
  12. Replies
    3
    Views
    1,524

    I wanted to make a counter variable and add 1 to...

    I wanted to make a counter variable and add 1 to it everytime a number is greater than 80. Then if counter is over 5 itll output "high tide." But im kind of lost
  13. Replies
    3
    Views
    1,524

    No idea where to start for this program

    Write a program to allow a user to input 10 integers. If more than half of the integers are over 80, then print “high tide.” otherwise print “low tide”


    Any help is appreciated. I am a student...
Results 1 to 13 of 13