Friday, November 15, 2013

C++ Program That Converts the Distance Values Input by the User

Write a C++ program that converts distance values. The program should give the user three outputs:
            Convert:
 i.Whole number of inches to feet &inches (80 inches = 6 ft, 8 in)
ii.Feet and inches to decimal feet (5 feet, 6 inches = 5.5 feet)
iii. Feet and inches to inches (4 feet, 2 inches = 50 inches)
 (1 foot = 12 inches)     

No comments:

Post a Comment

Please comment, if you like the post, you find any mistake or if you have any query.