Bladeren bron

finished, Thanks#

Jason Gibbs 6 jaren geleden
bovenliggende
commit
4037d8d1ef
3 gewijzigde bestanden met toevoegingen van 41 en 2 verwijderingen
  1. BIN
      FizzBuzz.class
  2. 1
    1
      FizzBuzz.java
  3. 40
    1
      package.bluej

BIN
FizzBuzz.class Bestand weergeven


+ 1
- 1
FizzBuzz.java Bestand weergeven

@@ -16,7 +16,7 @@ public class FizzBuzz
16 16
         } else if (x % 5 == 0) {
17 17
             fizz = "Buzz";
18 18
         } else {
19
-            
19
+            fizz = "" + x;
20 20
         }
21 21
         return fizz;
22 22
     }

+ 40
- 1
package.bluej Bestand weergeven

@@ -1,3 +1,42 @@
1 1
 #BlueJ package file
2
-#Thu May 31 13:04:16 EDT 2018
2
+dependency1.from=FizzBuzzTest
3
+dependency1.to=FizzBuzz
4
+dependency1.type=UsesDependency
5
+editor.fx.0.height=722
6
+editor.fx.0.width=800
7
+editor.fx.0.x=240
8
+editor.fx.0.y=26
9
+objectbench.height=101
10
+objectbench.width=461
11
+package.divider.horizontal=0.6
12
+package.divider.vertical=0.8007380073800738
13
+package.editor.height=427
14
+package.editor.width=674
15
+package.editor.x=51
16
+package.editor.y=95
17
+package.frame.height=600
18
+package.frame.width=800
19
+package.numDependencies=1
20
+package.numTargets=2
21
+package.showExtends=true
22
+package.showUses=true
3 23
 project.charset=UTF-8
24
+readme.height=58
25
+readme.name=@README
26
+readme.width=47
27
+readme.x=10
28
+readme.y=10
29
+target1.height=50
30
+target1.name=FizzBuzz
31
+target1.showInterface=false
32
+target1.type=ClassTarget
33
+target1.width=80
34
+target1.x=70
35
+target1.y=70
36
+target2.height=50
37
+target2.name=FizzBuzzTest
38
+target2.showInterface=false
39
+target2.type=UnitTestTargetJunit4
40
+target2.width=110
41
+target2.x=70
42
+target2.y=10