Question: Write a program that converts centimeters to inches. Your program should prompt the user to enter a height in centimeters, convert it to inches, and
Write a program that converts centimeters to inches. Your program should prompt the user to enter a height in centimeters, convert it to inches, and print the result to the console. Note that 1 inch = 2.54 centimeters. Below is a sample run: Please enter your height in centimeters: 175.00 centimeters is equivalent to 68.90 inches
the program has to be written in java
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
