Search:

Type: Posts; User: chelito19

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,838

    oh i see what you say. well i was working on it...

    oh i see what you say. well i was working on it and up until the line that says "while" is right, i think?..from that on is all what i thought would work, obviously didn't.
  2. Replies
    2
    Views
    1,838

    Compare strings problem

    This is my first time taking a computer science class, and Im having trouble with it. This problem is supposed to compare two or more arguments and the program will search the second and remaining...
  3. Replies
    16
    Views
    4,295

    im sorry if i confused you, but thanks i...

    im sorry if i confused you, but thanks i appreciate all the help. i will try to finish the code and hopefully i'll learn to use this language properly.
  4. Replies
    16
    Views
    4,295

    with while i didnt get anything, it seemed to...

    with while i didnt get anything, it seemed to never terminate. so i went back to what i had when at least it was returning 0. I dont think we are supposed to select 15 random numbers, the instructor...
  5. Replies
    16
    Views
    4,295

    ok so you are saying that i should define those...

    ok so you are saying that i should define those 15 elements, the program is supposed to run with up to any 15 values (not necessarily 15, could be less)

    for (i = 0; i < 15; i++){
    while...
  6. Replies
    16
    Views
    4,295

    before i post what i fixed in my code, how do i...

    before i post what i fixed in my code, how do i do this part about indenting my code?
  7. Replies
    16
    Views
    4,295

    i tried that at first and got nothing so i...

    i tried that at first and got nothing so i changed it, but i dont know if im missing something in the printf command, like a variable or something
  8. Replies
    16
    Views
    4,295

    I should have thought of that first, Im just...

    I should have thought of that first, Im just learning the language and it gets confusing sometimes. i tried removing the return 0 part and still get nothing. do you have any suggestions?
  9. Replies
    16
    Views
    4,295

    adding elements of an array

    I need to write a code that will add 15 random elements in an array.
    This is what i have but i cannot get it to add any elements, it always returns 0


    int main() {
    int a[15];
    int sum =...
Results 1 to 9 of 9