Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- console.log(typeof moyen);
- switch(moyen) {
- case (10 < moyen < 11.99):
- console.log("Acceptable");
- case (12 < moyen < 13):
- console.log("Souhaitable");
- case (14 < moyen < 15):
- console.log("Bien");
- case (moyen >= 16):
- console.log("Très bien");
- default:
- ("C'est pas un valide moyen !");
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement