没有效果呢?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>逻辑与</title>
<script type="text/javascript">
var numa=prompt("请输入您的笔试成绩");
var numb=prompt("请输入您的面试成绩");
if(numa>=60&&numb>=60){
document.write("恭喜你,已经被录取");}
else {
document.write("成绩不合格,继续加油吧!");
}
</script>
</head>
<body>
</body>
</html>