Search:

Type: Posts; User: special1zed

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    1,264

    Hey I changed it, but the answer I'm getting this...

    Hey I changed it, but the answer I'm getting this as the output when I put 5 as my search number:

    -1 -1 -1
    3
    -1 -1 -1 -1
  2. Replies
    7
    Views
    1,264

    I just did 8, 7, 6, 5, 4, 3, 2, 1 for my array....

    I just did 8, 7, 6, 5, 4, 3, 2, 1 for my array. And then I put 5 as my search number. Thanks for your help!
  3. Replies
    7
    Views
    1,264

    I'm sorry about not being clear enough. Here is...

    I'm sorry about not being clear enough. Here is the new code:


    #include <stdio.h>
    int main (void)
    {
    float ary[8];
    float input;
    int numbers;
    int x;
  4. Replies
    7
    Views
    1,264

    Help with this array?

    Here is the problem. I need to make an array with floating point numbers, after entering the numbers, the program asks me to enter another number to search the array:

    Example:
    Consider the...
  5. Replies
    2
    Views
    1,916

    Help with an Array

    Okay I need help with this problem:

    Write a function that verifies if a given number exists in an array of floats. The function is supposed to return the first position in where the number is...
  6. Replies
    5
    Views
    1,013

    Thanks! works great. Thank you guys for all your...

    Thanks! works great. Thank you guys for all your help again. You saved my grade! Is there a way to rep you on this forum?
  7. Replies
    5
    Views
    1,013

    So my if statement is incorrect?

    So my if statement is incorrect?
  8. Replies
    5
    Views
    1,013

    Need help one more time...

    The point of this program is to calculate the average of the array and then tell how many numbers are greater than or equal to the array. I am having trouble now with the calculating the amount...
  9. That did the trick, thank you sooooo much again!

    That did the trick, thank you sooooo much again!
  10. I changed that and I'm still getting 0 as the...

    I changed that and I'm still getting 0 as the average. Thanks for the help though. I also changed the 10 to 10.0 and nothing changed.
  11. Thanks, but since I changed the average to ave. I...

    Thanks, but since I changed the average to ave. I get the average as 0. What is wrong with it now? lol. Thanks for all your help btw.
  12. What's wrong with my Average Array program?

    I made a program that calculates the average of an array, but I'm getting wrong answers. When I enter 10 9 8 7 6 5 4 3 2 1, the average is 4199211. Are there any errors in my program? Thanks


    ...
  13. Replies
    3
    Views
    2,976

    thanks for your help, i'll check my answer again!

    thanks for your help, i'll check my answer again!
  14. Replies
    3
    Views
    2,976

    Need help with pointers and arrays

    I have an online class and I got these homework questions that I have to do. I answered all the questions but not sure about some of them. I was seeing if anyone can check these for me? I'm new to...
Results 1 to 14 of 15