var x = prompt ("请输入一个数")
var y = prompt ("请输入一个数")
var fh = prompt ("输入一个符号")
var x = parseInt(x)
var y = parseInt(y)
switch(fh){
case"+":
alert(x+y);
break;
case"-":
alert(x-y);
break
case"*":
alert(x*y);
break;
case"/":
alert(x/y);
break;
}