Search:

Type: Posts; User: jeremanalaotao

Search: Search took 0.08 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 ]++)
  6. Re: help me with my buffered reader please! whats wrong?

    thanks man!
  7. Re: help me with my buffered reader please! whats wrong?

    im really a beginner here..can u teach me?i cant find it
  8. Re: help me with my buffered reader please! whats wrong?

    variable b..yes i guess it needs to be converted?
  9. Re: Please help! Nested while loops and asterisk triangles!

    convert that in nested for loop?
  10. Re: Please help! Nested while loops and asterisk triangles!

    how about in nested for loop?how to convert that?
  11. Re: help me with my buffered reader please! whats wrong?

    i really dont understand it .. T__T
  12. Re: How to Read user input from the console with the Scanner class

    hi what if its an integer?
  13. Re: help me with my buffered reader please! whats wrong?

    when i type 1 it should be "Battleship" instead "wrong" appears..any number i type "wrong" appears
  14. help me with my buffered reader please! whats wrong?

    import.java.io*;


    public class Ship
    {
    public static void main(String[]args){
    BufferedReader dataIn= new BufferedReader ( new InputStreamReader(System.in));

    String name=" ";
    int b;
Results 1 to 14 of 14