Search:

Type: Posts; User: ansiaries

Search: Search took 0.08 seconds.

  1. Replies
    5
    Views
    989

    Re: Whats wrong with my code

    yes the else at the end was a problem
    now it is only giving me the result of last else statment

    i also change only 0308 to 0310

    --- Update ---

    now its working fine after when i remove 0...
  2. Replies
    5
    Views
    989

    Re: Whats wrong with my code

    thanks
    and when i run the code after removing the error, it just ask for input, does not give any output
  3. Replies
    5
    Views
    989

    Whats wrong with my code

    Hello i am a beginner please tell me
    whats wrong with my code (red colored)
    it gives me an error for 0308 that "The literal 0308 of type int is out of range"
    this error is only with 0308 and 0307...
  4. Replies
    2
    Views
    1,173

    [SOLVED] Re: Whats wrong with my code

    thanks i got it
  5. Replies
    2
    Views
    1,173

    [SOLVED] Whats wrong with my code

    Hello. I am new to java learning online. Please tell me whats wrong with my code. When i input A, B, C or D it gives no result no error just blank


    package Loops;

    import java.util.Scanner;
    ...
Results 1 to 5 of 5