Search:

Type: Posts; User: meziane

Search: Search took 0.09 seconds.

  1. Replies
    10
    Views
    921

    Re: need help for cheking if input is digit ?

    Thank u very much you have been really helpfull i figured out where my error was, basically i needed an System.exit() thats why i wasn't having the error message
    Here is my code maybe it will help...
  2. Replies
    10
    Views
    921

    Re: need help for cheking if input is digit ?

    I have a suggestion there is the .hasNextInt method but i don't really know how to use it. may i have some help please ?? >:D<
  3. Replies
    10
    Views
    921

    Re: need help for cheking if input is digit ?

    Sorry for bothering you it is my first time using this forum :p but thank you for your help rally appreciate it



    import java.util.Scanner; // Import Scanner clas
    public class...
  4. Replies
    10
    Views
    921

    Re: need help for cheking if input is digit ?

    can i have an example of that with a if statement exception ?? and here is my code i want an exception for my year and my day number so that the program outputs an error message if the input is other...
  5. Replies
    10
    Views
    921

    Re: need help for cheking if input is digit ?

    but mine is not a character its a whole string and it is required that i'm not using loops :/
  6. Replies
    10
    Views
    921

    need help for cheking if input is digit ?

    Hi every one so basically i'd like to know which method i can use so that the program checks if the input value is a digit or else outputs a message saying that `the value entered is not a number...
Results 1 to 6 of 6