산술 연산자


\${10+10} : ${10+10}
\${10-10} : ${10-10}
\${10*10} : ${10*10}
\${10/3} : ${10/10}
\${10 div 3} : ${10 div 3}
\${10%3} : ${10%3}
\${10 mod 3} : ${10 mod 10}

"> ex02.jsp

산술 연산자


\${10+10} : ${10+10}
\${10-10} : ${10-10}
\${10*10} : ${10*10}
\${10/3} : ${10/10}
\${10 div 3} : ${10 div 3}
\${10%3} : ${10%3}
\${10 mod 3} : ${10 mod 10}

"> ex02.jsp

산술 연산자


\${10+10} : ${10+10}
\${10-10} : ${10-10}
\${10*10} : ${10*10}
\${10/3} : ${10/10}
\${10 div 3} : ${10 div 3}
\${10%3} : ${10%3}
\${10 mod 3} : ${10 mod 10}

">
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" isELIgnored="false"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>ex02.jsp</title>
</head>
<body>
	<h1>산술 연산자</h1>
	<br/>
	<h2>
		\\${10+10} : ${10+10} <br/>
		\\${10-10} : ${10-10} <br/>
		\\${10*10} : ${10*10} <br/>
		\\${10/3} : ${10/10} <br/>
		\\${10 div 3} : ${10 div 3} <br/>
		\\${10%3} : ${10%3} <br>
		\\${10 mod 3} : ${10 mod 10} <br/>
	</h2>
</body>
</html>