need help adding feeting and inches together

```
#include <iostream>
using namespace std; // introduces namespace std
int main ()
{
int ft1, in1;
int ft2, in2;
int ft3, in3;
int total;
int fft;
int iin;
cout << "The measurement in feet and inches" << endl;
cin >> ft1 >> in1 >> ft2 >> in2;
cout << ft1 << " feet, " << in1 << " inches " << endl;
cout << ft2 << " feet, " << in2 << " inches " << endl;
cout << "The total in feet and inches." << endl;
cin >> ft1 >> in1 >>ft2 >> in2;
cout << ft1 + ft2 << " feet, " << in1 + in2 << " inches " << endl;
total=ft3+in3;
fft=total;
iin=total;
cout << "The measurement as a fraction of a foot." << endl;
cin >> total;
system ("pause");
return 0;
}
```