Question: Write two C++ programs. The first one should be in a file called `ft2m.cpp and it should take in a value representing a distance in
Write two C++ programs. The first one should be in a file called `ft2m.cpp and it should take in a value representing a distance in feet, and it should output the corresponding distance in meters. The second program should be called m2ft.cpp, and it should do the opposite conversion, namely from meters to feet.
Think about what are the appropriate data types for the variables in these programs. You should also know that 1 meter = 3.28084 feet.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
