Question: 4 . Write a C + + program that that does the following: a . Create a C + + file with the name problem
Write a C program that that does the following:
aCreate a C file with the name problemcpp
bPrompt the user to enter hisher name, reading it into a string variable.
cPrompt the user to enter hisher height in inches, reading it into an int variable.
dConvert the height to centimeters by multiplying it by
ePrint the users name, and height in centimeters.
Sample run of the program:
Enter your name: Dave
Enter your height in inches:
Hi Dave. You are centimeters tall.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
