Define a function GetLength() that takes two parameters passed by reference. The function reads two integers from input
Posted: Fri Jul 08, 2022 7:28 am
Define a function GetLength() that takes two parameters passed by reference. The function reads two integers from input as feet and inches in this order. The function does not return any value. Ex: If the input is 25 2, then the output is: 25 feet and 2 inches 1 #include <iostream> 2 using namespace std; 3 4 /* Your code goes here */ 5 6 int main() { 7 int usrFeet; 8 9 10 11 12 13 14 15 } int usrInches; Get Length (usrFeet, usrInches); cout << usrFeet << "feet and " << usrInches << " inches" << endl; return 0;