Parcourir la source

small changes

nmaidanos il y a 6 ans
Parent
révision
3001d27956
3 fichiers modifiés avec 17 ajouts et 15 suppressions
  1. BIN
      ShortCalculator.class
  2. 3
    1
      ShortCalculator.java
  3. 14
    14
      package.bluej

BIN
ShortCalculator.class Voir le fichier


+ 3
- 1
ShortCalculator.java Voir le fichier

@@ -15,6 +15,8 @@ public class ShortCalculator {
15 15
         
16 16
         Scanner scanner = new Scanner(System.in);
17 17
         
18
+        System.out.print("Please enter 2 Numbers inbetween 0 and 65535\n");
19
+         
18 20
         boolean looping = true;
19 21
         while(looping){
20 22
         
@@ -40,7 +42,7 @@ public class ShortCalculator {
40 42
                 System.out.println("Remainder is " + remainder + " \n");
41 43
       
42 44
             } else {
43
-                System.out.print("Both Number enter Must be inbetween 0 and 65535\n");
45
+                System.out.print("Both Number entered Must be inbetween 0 and 65535\n");
44 46
             }
45 47
         
46 48
         }

+ 14
- 14
package.bluej Voir le fichier

@@ -11,20 +11,20 @@ dependency3.type=UsesDependency
11 11
 dependency4.from=NormalizeAngleTest
12 12
 dependency4.to=NormalizeAngle
13 13
 dependency4.type=UsesDependency
14
-editor.fx.0.height=0
15
-editor.fx.0.width=0
16
-editor.fx.0.x=0
14
+editor.fx.0.height=1047
15
+editor.fx.0.width=1013
16
+editor.fx.0.x=914
17 17
 editor.fx.0.y=0
18
-objectbench.height=155
19
-objectbench.width=868
20
-package.divider.horizontal=0.6334164588528678
21
-package.divider.vertical=0.7635036496350365
22
-package.editor.height=516
23
-package.editor.width=778
24
-package.editor.x=280
25
-package.editor.y=61
26
-package.frame.height=785
27
-package.frame.width=908
18
+objectbench.height=156
19
+objectbench.width=472
20
+package.divider.horizontal=0.5994993742177722
21
+package.divider.vertical=0.7803234501347709
22
+package.editor.height=572
23
+package.editor.width=705
24
+package.editor.x=49
25
+package.editor.y=73
26
+package.frame.height=842
27
+package.frame.width=835
28 28
 package.numDependencies=4
29 29
 package.numTargets=10
30 30
 package.showExtends=true
@@ -40,7 +40,7 @@ target1.name=Factorial
40 40
 target1.showInterface=false
41 41
 target1.type=ClassTarget
42 42
 target1.width=80
43
-target1.x=160
43
+target1.x=100
44 44
 target1.y=10
45 45
 target10.height=50
46 46
 target10.name=IntegerPrinterTest