Here is my code I cant figure it out

//Problem is i cant get my inches left over i cant think in my head what i have to do!!!!! ive gotten this far

Code:

`#include <iostream>`

using namespace std;

//CONSTANTS

const double CM_PER_INCH = 2.54;

const double INCH_PER_FOOT = 12;

const double INCH_PER_YARD = 36;

int main ()

{

//VARIABLES

int feet;

double cm;

double totalinches;

int totalyards;

int roundedinch;

int inchesleft;

//END

cout << "Please enter the length in centimeters: ";

cin >> cm;

//converting to inch

totalinches = cm / CM_PER_INCH;

//roundedinches

roundedinch = totalinches + .05;

//TOTAL YARDS

totalyards = roundedinch / INCH_PER_YARD;

//TOTAL FEET

feet = (roundedinch - (totalyards * INCH_PER_YARD )) / INCH_PER_FOOT;

//LEFT OVER INCHES

inchesleft =

//Results

cout << " Total Yards: " <<totalyards << " Total Feet: " <<feet << " Inches: "<<inchesleft <<endl;

return 0;

}