这样做可以吗

来源:5-8 编程练习

微醺的炒饭

2018-02-02 15:45:31

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<style type="text/css">
			body{
				
			}
		</style>
	</head>
	<body>
	<script type="text/javascript">
	
		var a1=4,
		a2=5,
		a3=a1+a2,
		a4=a1-a2,
		a5=a1*a2,
		a6=a1/a2;
		console.log(a1);
		console.log(a2);
		console.log(a3);
		console.log(a4);
		console.log(a5);
		console.log(a6);
	</script>
	
	</body>
</html>


写回答

1回答

Miss路

2018-02-02

意思全对,继续加油!

2

0 学习 · 36712 问题

查看课程