Search:

Type: Posts; User: jeremanalaotao

Search: Search took 0.10 seconds.

  1. Replies
    11
    Views
    1,777

    Re: HELP ME HOW TO DECREMENT THIS PLS

    not yet...zzzzzzz
  2. Replies
    11
    Views
    1,777

    Re: HELP ME HOW TO DECREMENT THIS PLS

    i want to exit that at 0 hehe
  3. Replies
    11
    Views
    1,777

    Re: HELP ME HOW TO DECREMENT THIS PLS

    int [ ] arr = new int[ 10 ];

    for(int i =8; i < arr.length; i--){
    arr[ i ] = i - 1;
    System.out.println(arr[ i ]);


    this is my code for decrement..but it says "Exception in...
  4. Replies
    11
    Views
    1,777

    Re: HELP ME HOW TO DECREMENT THIS PLS

    i did it on purpose..when i use -- it says outofbounds
  5. Replies
    11
    Views
    1,777

    HELP ME HOW TO DECREMENT THIS PLS

    int [ ] arr = new int[ 4 ]
    for(int i = 0; i < arr.length; i++)
    arr[ i ] = i + 1
    System.out.println(arr[ i ]++)
Results 1 to 5 of 5