Skip to content

Commit 69cc402

Browse files
committed
feat: adds nilejack/07Hw
1 parent a16b1b3 commit 69cc402

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lesson_07/conditionals/src/lesson7.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ export function convertGpaToLetterGrade(gpa: number): string {
6767
return "D+";
6868
} else if (gpa <= 1.29 && gpa >= 1.0) {
6969
return "D";
70-
} else if (gpa < 1.00 && gpa {
71-
return "F";
72-
}
70+
} else return "F";
7371
}
7472

7573
/**

0 commit comments

Comments
 (0)