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

c++ program  c++ program (10 points) Write a function (in a file called
convert knots.cpp) that converts knots into miles per minute. The function needs

(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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!