Search:

Type: Posts; User: Bambee

Search: Search took 0.14 seconds.

  1. Replies
    2
    Views
    212

    Re: Help With Odd/Even number program

    How can i make this kind of out put

    0
    2 // even
    1 // odd
    4
    3
    6
    5
    8
  2. Thread: DoWhile

    by Bambee
    Replies
    1
    Views
    175

    DoWhile

    class Alternate
    {
    public static void main(Strin args [])
    {
    int x=0;

    do
    {
    System.out.println(x); x+=1;
    do {System.out.println(x); x+=2;}
Results 1 to 2 of 3