jsp 12) cirleresult

hahahoho셍·2021년 5월 29일
0

jsp

목록 보기
11/51
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h2>결과창</h2>
	<%
		String ban = request.getParameter("ban");
		int r = Integer.parseInt(ban);
	%>
	원의 넓이는 <%=(double)r*r*3.14 %>
	
	
	
</body>
</html>
profile
그냥 공부 한거 적는 벨로그 하하하핳ㅎ하하하핳하ㅏ

0개의 댓글