Question: C++ language Jump to level 1 Define a function ConvertLength0 that iakes one integer parameter as totalCentimeters, and two integer parameters passed by reference as
Jump to level 1 Define a function ConvertLength0 that iakes one integer parameter as totalCentimeters, and two integer parameters passed by reference as meters and centimeters The function converts totalcentimeters to meters and centimeters. The function does not return any value. Ex: If input is 510 , then output is: 5 meters and 18 centimeters Note: totalCentimeters / 100 computes the number of meters, and totalCentimeters %,100 computes the remaining centimeters. 1 ainclude 3% Your code goes here " 7 Convertlength(totalcentimeters, usmeters, usrCentinoters); cout usrMeters " neters and " s
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
