2 things.
Change :
namespace std; to
using namespace std; . Your code shouldn't compile without changing it.
then change:
to:
double Meters;
double Yards;
Int can only be integer values So: 1, 4 , 300, 5632 etc etc.
But you need some digits after the comma, so you need the double
data-type Last edited by niek_e; Nov 25th, 2008 at 6:45 am.