We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4056a9 commit 18ecdcbCopy full SHA for 18ecdcb
lesson_07/conditionals/src/lesson7.ts
@@ -54,23 +54,22 @@ export function convertGpaToLetterGrade(gpa: number): string {
54
return "A-";
55
}else if(gpa >= 3.3 && gpa < 3.7){
56
return "B+";
57
- }else if(gpa >= 3 && gpa < 3.3){
+ }else if(gpa >= 3.0 && gpa < 3.3){
58
return "B";
59
}else if(gpa >= 2.7 && gpa < 3){
60
return "B-";
61
}else if(gpa >= 2.3 && gpa < 3.7){
62
return "C+";
63
- }else if(gpa >= 2 && gpa < 2.3){
+ }else if(gpa >= 2.0 && gpa < 2.3){
64
return "C";
65
}else if(gpa >= 1.7 && gpa < 2){
66
return "C-";
67
}else if(gpa >= 1.3 && gpa < 1.7){
68
return "D+";
69
}else if(gpa >= 1.0 && gpa < 1.3){
70
return "D";
71
- }else {
72
- return "F";
73
}
+ return "F";
74
75
76
/**
0 commit comments