Skip to content

Commit e910843

Browse files
committed
implement function for getAngleType
1 parent cdbec51 commit e910843

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ const { assertEquals, isProperFraction } = require("./2-is-proper-fraction");
1616
// After you have implemented the function, write tests to cover all the cases, and
1717
// execute the code to ensure all tests pass.
1818

19-
function getAngleType(angle) {
19+
function getAngleType(angle) { // This function should return a string indicating the type of angle based on the input angle in degrees.
2020
// TODO: Implement this function
21-
if (angle > 0 && angle < 90)
21+
if (angle > 0 && angle < 90)
2222
return "Acute angle";
2323
else if (angle === 90)
2424
return "Right angle";

0 commit comments

Comments
 (0)