You are viewing a single comment's thread. Return to all comments →
function getGrade(score) {
const grades = ["F","E","D","C","B","A"]; return grades[Math.round(Math.trunc(score/5))];;
}
Day 2: Conditional Statements: If-Else
You are viewing a single comment's thread. Return to all comments →
function getGrade(score) {
}