Skip to content
This repository was archived by the owner on Jan 24, 2020. It is now read-only.

Commit 57d0bf6

Browse files
Removing subtraction from the division line of code
1 parent cb2d322 commit 57d0bf6

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/Main.groovy

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import static Square.square
2-
import static Subtract.subtract
32
import static Division.divide
43
import static Sum.sum
54

@@ -9,6 +8,5 @@ int programmingPoints = 10
98
println "Hello ${name}"
109
println "${name} has at least ${programmingPoints} programming points."
1110
println "${programmingPoints} squared is ${square(programmingPoints)}"
12-
println "${programmingPoints} minus 7 bonus points is ${subtract(programmingPoints, 7)}"
1311
println "${programmingPoints} divided by 2 bonus points is ${divide(programmingPoints, 2)}"
1412
println "${programmingPoints} plus 3 bonus points is ${sum(programmingPoints, 3)}"

src/Subtract.groovy

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)