Skip to content

Commit 58193dd

Browse files
author
“A1-4U2T1NN”
committed
fix: corrected A to A+ scale;
1 parent a7d16ad commit 58193dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lesson_07/conditionals/src/lesson7.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export function compareStrings(a: string, b: string): number {
4848
*/
4949
export function convertGpaToLetterGrade(gpa: number): string {
5050

51-
if(gpa >= 4.0){
51+
if(gpa > 4.0){
5252
return "A+"
5353
}else if(gpa >= 3.9){
5454
return "A"

0 commit comments

Comments
 (0)