JavaScript利用Switch语句编写成绩等级-CSDN博客

网站介绍:<script>var inpus = document.querySelectorAll("input"); inpus[1].onclick = function(){ var num = Number(inpus[0].value); num = parseInt(num/10); switch(num){ case 10: ...