var hh=prompt("请输入您想转换成中文大写的0~9的数字"); switch(hh){ case 0: document.write("零"); break; case 1: document.write("一"); break; case 2: document.write("二"); break; case 3: document.write("三"); break; case 4: document.write("四"); break; case 5: document.write("五"); break; case 6: document.write("六"); break; case 7: document.write("七"); break; default: document.write("八"); }
添加回答
举报
0/150
提交
取消