請設計一個副程式 calculateArea,讓使用者輸入一個整數邊長,回傳該邊長的方形面積。
calculateArea
輸入一個正整數,代表正方形的邊長。
輸出一行,顯示該邊長對應的面積。
5
Area: 25
There are no comments at the moment.
Comments