Question: Analyze the pseudocode below and determine the value for heightInCm that is reported out when the user enters 6 for heightFeet and 2 for

Analyze the pseudocode below and determine the value for heightInCm that is

Analyze the pseudocode below and determine the value for heightInCm that is reported out when the user enters 6 for heightFeet and 2 for heightInches. Start Constant Real INCHES PER FOOT 12 Constant Real CM_PER_INCH = 2.5 Input heightFeet Input height Inches Set height InCm height Feet x INCHES PER FOOT Set height InCm Set heightInCm = height InCm + height Inches height InCm x CM PER INCH Display "Approximate height in centimeters is: ", height InCm End

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 Programming Questions!