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))];;
}
Seems like cookies are disabled on this browser, please enable them to open this website
Day 2: Conditional Statements: If-Else
You are viewing a single comment's thread. Return to all comments →
function getGrade(score) {
}