C++ is the language, thanks.

Write a function ‘unitConvert that takes four positive double arguments but uses ‘pass by reference. The first argument is a mile value and the second argument is its corresponding kilometers. The third argument is a pound value and fourth parameter is its corresponding kilograms. The second and fourth arguments need to be past by reference. To simplify, one mile is 1.6 km and one pound is 0.45 kg. Show transcribed image text Write a function ‘unitConvert that takes four positive double arguments but uses ‘pass by reference. The first argument is a mile value and the second argument is its corresponding kilometers. The third argument is a pound value and fourth parameter is its corresponding kilograms. The second and fourth arguments need to be past by reference. To simplify, one mile is 1.6 km and one pound is 0.45 kg.

## Expert Answer

Answer to Write a function ‘unitConvert that takes four positive double arguments but uses ‘pass by reference. The first argument …