Skip to content

Commit 97d02c7

Browse files
committed
get angle case2
1 parent 8f3d6cf commit 97d02c7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sprint-3/1-implement-and-rewrite-tests/implement/1-get-angle-type.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ function getAngleType(angle) {
1212
return "Right angle";
1313
}
1414
// Run the tests, work out what Case 2 is testing, and implement the required code here.
15+
if (angle < 90) {
16+
return "Acute angle";
17+
}
1518
// Then keep going for the other cases, one at a time.
1619
}
1720

0 commit comments

Comments
 (0)