0

Hey I am trying to teach myself C++ and i am having trouble with a measurement converter I am pretty sure my problem is in the line

`Yards = Meters * 1.094;`

but i don't know how else to write it, this is my code:

```
#include <iostream>
namespace std;
int main()
{
cout << "welcome to my measurement converter.";
cout << "This converter will convert meters to yards.\n";
cout << "Enter the number of meters.\n";
int Meters;
int Yards;
cin >> Meters;
Yards = Meters * 1.094;
cout << Meters << " meters is equal to " << Yards << " yards";
return 0;
}
```

Your help would be greatly appreciated