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は型について厳格なので、square は int を返すように宣言されており、あなたの値もそれに合わせる必要があります。

Log in or create account · ⁨ログインまたはアカウント作成⁩

IGCSE, A-Level & AP