英尺与米的转换程序

上机内容:C++的程序编写和运行

上级目的:熟悉程序编辑,编译,连接和运用

我的程序:

/*/*

*copyright()2012计算机学院

*All rights reserved

*文件名称:text.cpp

*作者:刘杰

*完成日期:2012年10月8日

*版本号:v1.0

*

*输入描述:无

*程序输出:“500 feet is  152.439 meter"

*问题描述:无

*问题分析:无

*程序设计:略

*/

#include 
using namespace std;
int main()
{
 double f;
 double m;
 cout<<"Enter the length in feet:";
    cin>>f;
    m=f/3.28;
 cout<

运行结果:

 

你可能感兴趣的:(c++)