#include <iostream>
using namespace std;
int main() {
double f; // holds the length in feet
double m; // holds the conversion to meters
cout << "Enter the length in feet: ";
cin >> f; // read the number of feet
m = f / 3.28; // convert to meters
cout << f << " feet is " << m << " meters.";
return 0;
}
Enter the length in feet: 12
12 feet is 3.65854 meters."