Page 1 of 1

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
by answerhappygod
Define A Function Getlength That Takes Two Parameters Passed By Reference The Function Reads Two Integers From Input 1
Define A Function Getlength That Takes Two Parameters Passed By Reference The Function Reads Two Integers From Input 1 (19.32 KiB) Viewed 44 times
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;