{"size": 551, "ext": "js", "max_stars_repo_path": "exercicios-js/controle/switch.js", "max_stars_repo_name": "nishida98/udemy-web-developement", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "exercicios-js/controle/switch.js", "max_issues_repo_name": "nishida98/udemy-web-developement", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "exercicios-js/controle/switch.js", "max_forks_repo_name": "nishida98/udemy-web-developement", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 30.6111111111, "max_line_length": 63, "alphanum_fraction": 0.5390199637}
const imprimirResultado = function(nota) {
    switch (Math.floor(nota)) {
        case 10:
        case 9: //9 e 10 possuem o mesmo resultado
            console.log('Nota entre 9 e 10, muito bom!')
            break
        case 8: case 7: case 6:
            console.log('Nota entre 6 e 8, poderia ir melhor!')
            break
        case 5: case 4: case 3: case 2: case 1: case 0:
            console.log('Nota entre 0 e 5, estude mais!')
            break
        default:
            console.log('Nota inválida')
    }
}

imprimirResultado(5)