There are 5280 feet per mile there are 3 feet in a yard use


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: There are 5280 feet per mile there are 3 feet in a yard use
Reference No:- TGS0596482

Expected delivery within 24 Hours