Search:

Type: Posts; User: sahleena

Search: Search took 0.19 seconds.

  1. Replies
    9
    Views
    354

    Re: Java while loops and switches

    //Asks the user to input a number for dices sides
    System.out.println("How many sides should the dice have?") ;
    int numberOfSides ;
    Scanner scanner = new Scanner (System.in);
    numberOfSides =...
  2. Replies
    9
    Views
    354

    Java while loops and switches

    Hi,
    I'm a beginner at Java programming and I was wondering if anyone could help / explain how to use a while loop in a task. The task is to create a menu which is appears constantly after the user...
Results 1 to 2 of 2