Write a function that takes inputs of yards and feet whole


Write a function that takes inputs of yards and feet (whole numbers) and calculates and returns an output of the total number of miles (a floating-point value). There are 5280 feet per mile. There are 3 feet in a yard. Use appropriate parameter passing and return mechanisms. Use appropriate datatypes. For example, with inputs of 1760 yards and 1320 ft, the result would be 1.25 miles. Use proper code formatting techniques. Do not write a main routine. Your function does not do cin or cout.

Request for Solution File

Ask an Expert for Answer!!
Electrical Engineering: Write a function that takes inputs of yards and feet whole
Reference No:- TGS0616388

Expected delivery within 24 Hours