//编写一个C++程序,它要求用户输入一个以long为单位的距离,然后将它转换为码(1long等于  220码)
#include <iostream>
using namespace std;
double feetTof(double furlongs);
int main ()
{
	cout<<"Enter a distance in furlongs:";
	double furlongs;
	cin>>furlongs;
	double feet;
	feet=feetTof(furlongs);
	cout<<furlongs<<" furlongs = "<<feet<<" feet. "<<endl;
	return 0;
}
double feetTof (double n)
{
	return 220*n;
}