Search:

Type: Posts; User: Mounkaila144

Search: Search took 0.17 seconds.

  1. Replies
    13
    Views
    640

    Re: read a double type on the keyboard

    public static void main(String[] args) {
    double n;
    Scanner sc=new Scanner(System.in );
    System.out.println("enter a decimal number") ;
    n=sc.nextDouble();
    System.out.println("you...
  2. Replies
    13
    Views
    640

    read a double type on the keyboard

    hello

    public static void main(String[] args) {
    double n;
    Scanner sc=new Scanner(System.in );
    n=sc.nextDouble();

    }
    when i enter a decimal number on the keyboard it doesn't...
  3. Replies
    3
    Views
    570

    Re: Loop into another loop

    The second loop (do while) does not work
  4. Replies
    3
    Views
    570

    Loop into another loop

    Hello I'm trying to do something -when the user has entered a value other than 1 or 2, that it prompts the user to try again until the user chooses 1 or 2 - once the user has been chosen 1 or 2 make...
Results 1 to 4 of 4