calculate circle area
Submit solution
Points:
40 (partial)
Time limit:
1.0s
Memory limit:
256M
Authors:
Problem type
Allowed languages
Java 19, Java 8
題目說明
請設計一副程式,讓使用者輸入一整數後回傳該整數半徑的圓形面積,並將結果取至小數第二位
輸入限制 正整數
輸入
半徑
輸出
圓面積 (請使用3.14
做計算)
測試資料0 輸入
3
測試資料0 輸出
28.26
System.out.printf("%.2f", ...);
Comments
題解