▼ กำลังโหลดข้อมูล... ▼
แสดงความคิดเห็น
คุณสามารถแสดงความคิดเห็นกับกระทู้นี้ได้ด้วยการเข้าสู่ระบบ
กระทู้ที่คุณอาจสนใจ
อ่านกระทู้อื่นที่พูดคุยเกี่ยวกับ
JavaScript
การพัฒนา Web Application
Web Browser
Open-source Software
วิศวกรรมคอมพิวเตอร์
เขียนโค้ดผิดตรงไหนคะ JSP บน Netbean ขึ้นว่า method...in class simplifiedJSPserverlet cannot be applied types...
required:int,int
found:int
reason: actual and formal argument list differ in length
มันผิดตรงไหนอ่ะคะ งงมาก 55555
ขอบคุณค่ะ
<%--
Document : 3_1
Created on : Dec 13, 2018, 11:46:36 PM
Author : BKbainao
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Space Calculator</title>
</head>
<body>
<center><u><h1>Space Calculator</h1></u></center>
<%!
int base = 12;
int high = 20;
double TriangleArea(int base,int high)
{
return 0.5 * base * high;
}
%>
<%
out.println("Triangle Area" + TriangleArea(2)); *มันขึ้น ERROR ตรงนี้ค่ะ
%>
</body>
</html>