c++ code for beginner for converting feet to meter
#include <iostream>
using namespace std;
int main()
{
double f;
double m;
cout<< " enter Length in Feet";
cin>>f;
m = f/3.28; // Convert To Meters
cout << f << "feet is" << endl << m << "Meter's" << endl;
system("pause");
return 0;
}
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.