InchConvert


Submit solution

Points: 10
Time limit: 2.0s
Memory limit: 64M

Author:
Problem type
Allowed languages
Java 19, Java 8

題目說明

請寫一個程式,將英尺轉換為公尺。
一英尺=0.0254公尺
結果輸出至小數後兩位。

輸入

由鍵盤輸入一數字n (英尺)

輸出

轉換為公尺並輸出至小數後兩位

sample input & output

輸入 輸出
DataSet1 66 66 inch(es) = 1.68 meter(s)
DataSet2 54 54 inch(es) = 1.37 meter(s)
DataSet3 33 33 inch(es) = 0.84 meter(s)

Comments

There are no comments at the moment.