# Java: Exercise - InchesToCm

Write a program which converts feet and inches to centimeters. The interface should look like the following.

### Assumptions, constraints, etc

- This is an open-book/notes exercise.
- The "=" button should cause the conversion to be made.
- There are 2.54 centimeters per inch.
- The window close box should terminate the program.
- If there is an error in converting either of the input numbers, put the message "ERROR" in the output field. Hint: this requires using try...catch.
- This must be an application, not an applet.
- You should use double for the numbers.
- You do not have to format the output in any special way (ie, you can use the default number to string conversion.