Skip to content

Commit 28d418e

Browse files
author
“A1-4U2T1NN”
committed
test: testing gpa scale value (tgsv.v1)
1 parent 88ef56b commit 28d418e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lesson_07/conditionals/src/lesson7.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,8 @@ export function compareStrings(a: string, b: string): number {
4848
*/
4949
export function convertGpaToLetterGrade(gpa: number): string {
5050

51-
if(gpa >= 3.9){
52-
return "A+"
53-
}else if(gpa >= 3.7){
54-
return "A"
51+
if(gpa >= 3.7){
52+
return "A"
5553
}else if(gpa >= 3.3){
5654
return "A-"
5755
}else if(gpa >= 3.0){

0 commit comments

Comments
 (0)