Develop a C++ code to convert the following measurements to eachother;

  • Meter, Centimeter, Mile, Yard, Foot, Inch, Nautical mile

Your code should prompt for user and ask for the neededconversion and input the value. Then it should show the outputalong with proper messages.

Your code should check for any invalid entry and respondaccordingly.

Upload the code (text file) and a screenshot of a test.