Skip to content · ⁨ข้ามไปยังเนื้อหา⁩

Square a number · ⁨ยกกำลังสองตัวเลข⁩

English

Square a number

Return n * n. Java is strict about types, so square is declared to return an int and your value must match.

ไทย

ยกกำลังสองตัวเลข

คืนค่า n * n Java คัดค关于 types, ดังนั้น square ถูกประกาศให้คืนค่า int และค่าของคุณต้องตรงกัน

Log in or create account · ⁨เข้าสู่ระบบหรือสร้างบัญชี⁩

IGCSE, A-Level & AP