<!doctype>
<html>
<head>
<meta charset="uft-8">
<title></title>
</head>
<body>
<script>
function gz(){
var a = prompt("请输入您的工资");
var b = 0;
if(a<=3500){
alert("您无需缴税");
}else if(a>3500,a<=5000){
b=(a-3500)*0.03
alert("您需要缴税"+b+"元");
}else if(a>5000,a<=9000){
b=(a-5000*)*0.1+45
alert("您需要缴税"+b+"元");
}else{
b=(a-9000)*0.2+445
alert("您需要缴税"+b+"元");
}
}
</script>
<button onclick="gz()">个人所得税计算器</button>
</body>
</html>