Square Area Calculator


Submit solution

Points: 10 (partial)
Time limit: 1.0s
Memory limit: 64M

Authors:
Problem type

題目說明

請設計一個副程式 calculateArea,讓使用者輸入一個整數邊長,回傳該邊長的方形面積。

輸入

輸入一個正整數,代表正方形的邊長。

輸出

輸出一行,顯示該邊長對應的面積。

範例輸入 #1

5

範例輸出 #1

Area: 25

Comments

There are no comments at the moment.