Przeglądaj źródła

Updating the game

Whitney Martinez 6 lat temu
rodzic
commit
f36cbc669c
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      Main.java

+ 2
- 2
Main.java Wyświetl plik

7
      public static void main(String[] args){
7
      public static void main(String[] args){
8
 
8
 
9
          Scanner input = new Scanner(System.in);
9
          Scanner input = new Scanner(System.in);
10
-         System.out.println("Heres a fun little Guessing game!"+
11
-             "I'm thinking of a number between 1 and 30");
10
+         System.out.println("Here is a fun little Guessing game!"+
11
+             "I'm thinking of a number between 0 and 30");
12
          int r = (int)(Math.random()*30);
12
          int r = (int)(Math.random()*30);
13
          int high = 0;
13
          int high = 0;
14
          int low =0;
14
          int low =0;