Question: a c++ code based off the following pseudocode START // Get user input PRINT Please enter a measurement in inches: SET inches = USER
a c++ code based off the following pseudocode
START // Get user input PRINT "Please enter a measurement in inches: " SET inches = USER INPUT // Do the conversions SET foot = inches/12 SET yard = inches/36 SET cm = inches * 2.54 SET m = cm * 0.01 // Output the results PRINT "Foot: " PRINT foot WITH 3 DECIMAL PLACES PRINT "Yard: " PRINT yard WITH 3 DECIMAL PLACES PRINT "Centimeter: " PRINT cm WITH 3 DECIMAL PLACES PRINT "Meter: " PRINT m WITH 3 DECIMAL PLACES END
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
