Question: c++ program (10 points) Write a function (in a file called convert knots.cpp) that converts knots into miles per minute. The function needs to take
(10 points) Write a function (in a file called convert knots.cpp) that converts knots into miles per minute. The function needs to take in an int (knot) as the argument and return a double value (miles per minute). Write a main function (at the bottom of convert_knots.cpp) that reads an integer from the terminal, and prints out the number converted to miles per minute (as a double floating point) by calling your function. Use 1 knot = 1 nautical mile per hour = 6076 feet per hour 1 mph - 1 mile per hour 5280 feet per hour
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
