Skip to content

Commit

Permalink
QUIZ3
Browse files Browse the repository at this point in the history
  • Loading branch information
SKYPLOY committed Sep 16, 2020
1 parent ae61dd3 commit 5db0fc0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions js/quiz3.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const CalculateGrade = (scoer) => {
let grade = null
if(scoer >= 81 && scoer <= 100){
grade = "A"
} else if(scoer >= 71 && scoer <= 80){
grade = "B"
} else if(scoer >= 61 && scoer <= 70){
grade = "C"
} else if(scoer >= 51 && scoer <= 60){
grade = "D"
} else if(scoer >= 41 && scoer <= 50){
grade = "A"
} else if()
}

0 comments on commit 5db0fc0

Please sign in to comment.