Skip to content

Commit 0ae5f4b

Browse files
updated getAngleType to check for acute angle
1 parent bd742bc commit 0ae5f4b

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
@@ -10,6 +10,9 @@
1010
function getAngleType(angle) {
1111
if (angle === 90) {
1212
return "Right angle";
13+
}
14+
if(angle<90){
15+
return "Acute angle"
1316
}
1417
// Run the tests, work out what Case 2 is testing, and implement the required code here.
1518
// Then keep going for the other cases, one at a time.

0 commit comments

Comments
 (0)