Search:

Type: Posts; User: MrLowBot

Search: Search took 0.08 seconds.

  1. Thread: Arrays

    by MrLowBot
    Replies
    12
    Views
    855

    Re: Arrays

    Thank you Jim! Got it working now.
  2. Thread: Arrays

    by MrLowBot
    Replies
    12
    Views
    855

    Re: Arrays

    Thanks Jim!

    I almost got it working now!
    But i had seen the assignment wrong. So what the program has to do is to print out all of the whole numbers that are positive and take the
    numbers stored...
  3. Thread: Arrays

    by MrLowBot
    Replies
    12
    Views
    855

    Re: Arrays

    I am guessing that i am making things worse than they have to be..
    But i am learning at the same time.

    Feels like i could almost get this working... almost.



    public static void...
  4. Thread: Arrays

    by MrLowBot
    Replies
    12
    Views
    855

    Re: Arrays

    So.. i guess that this could work. However i feel like the value of "Data" changes and i cannot print all the numbers afterwards. In either case without the if statement then the program print out...
  5. Thread: Arrays

    by MrLowBot
    Replies
    12
    Views
    855

    Re: Arrays

    Okay but how do i store the values that i get from the loop into the array and then print them out later?
  6. Thread: Arrays

    by MrLowBot
    Replies
    12
    Views
    855

    Re: Arrays

    Okay so i can make a forloop that takes the numbers that i use and print them out.
    But i can't find a way to store them in the array.. or atleast it doesn't look like i am "storing" them right.

    ...
  7. Thread: Arrays

    by MrLowBot
    Replies
    12
    Views
    855

    Arrays

    I have this assignment where i should be able to write in as many whole numbers as i want too and then end it with a negative number.
    After the negative number the code should be able to print all...
Results 1 to 7 of 7