I have to do a conversion program but cant get it to work quite write. When I'm just converting one thing its fine but when i try 2 it breaks. What am I doing wrong?
#include <iostream>
using namespace std;
int main()
{
// Variable Declarations
const int feet = 660;
const int pounds = 90;
int length = 0;
int mass = 0;
int product = 0;
int product1 = 0;
// Get user input
cout << "Enter Length in Furlongs" << endl;
cin >> length;
// Get user input
cout << "Enter Mass in Firkins" << endl;
cin >> mass
//Print out results
cout << "Converted Length in Feet is: " << product << endl;
cout << "Converted Mass in Pounds is: " << product1 << endl;
return 0;
}