将英尺转换为米的程序

5 Sept 2024 | 2 分钟阅读

在本文中,我们将学习如何将给定的英尺长度值转换为米长度。

如果我们想将英尺值转换为米值,那么我们必须使用以下公式

程序 1: 编写一个 C 语言程序,将英尺值转换为米。

输出

The value of 40 feet in meter is: 12.192

程序 2: 编写一个 PHP 程序,将英尺值转换为米。

输出

The value of 100 feet in meter is: 30.47

程序 3: 编写一个 Java 程序,将英尺值转换为米。

输出

Value of given feet in meter is: 0.762

程序 4: 编写

输出

Enter the length in feet: 55
The length in meter is 16.76