2problem description a java program needs to be


2. Problem Description: A Java program needs to be written to display the result of following operations based input character. The table for input character with operations is :
Input Operation
I Inch
Y Yard
F Feet
M Meter

Step 1: Create a class called Convertor.java with the main method
Step 2: Input value in centimeter
Step 3: Create a character variable for storing the input with default value of F.
Step 4: Write the Java code to implement the conversion from centimeter to given operations. Any other input is provided, the program must display a message “Wrong Input”, or valid input it must display the result of operation as given in the table.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: 2problem description a java program needs to be
Reference No:- TGS0331755

Expected delivery within 24 Hours