Search:

Type: Posts; User: JonoScho

Search: Search took 0.08 seconds.

  1. Replies
    7
    Views
    11,855

    Re: Help With Odd/Even number program

    ye only i want it to display all the odd numbers or even numbers depending on the value i enter
  2. Replies
    7
    Views
    11,855

    Re: Help With Odd/Even number program

    thats got me one step further but it will now print the number the amount of times of the integer e.g. it prints 5, 5 times



    import java.util.*;

    public class Test
    {
    public static void...
  3. Replies
    7
    Views
    11,855

    Re: Help With Odd/Even number program

    Basically it takes in the integer then only returns the first odd or even number i want it to display all the odd and even numbers for example:
    Int 10
    odd number is 1
    even number is 2
    odd number...
  4. Replies
    7
    Views
    11,855

    Help With Odd/Even number program

    Hey guys i'm new to java and im trying to teach myself java to help with my university course. Im trying to create a program that takes in a integer and returns the odd and even values upto that...
Results 1 to 4 of 4