|
Create an Java application that will convert Fahrenheit temperatures
to Celsius and vice versa. The first Input Dialog box should ask the user
to pick the direction of conversion.The directions should be labeled with
numbers, not letters. 
The second Input Dialog box should ask for the temperature to be converted.
See below for examples of each box.
The program should respond to the inputs with a Message Dialog box that
gives both temperatures (the original temperature and the converted temperature).
Be sure to label the two temperatures. You decide what icons to use and
what text to put in the title bars.See below for two examples.

Helpful hints:
- Think of the user when designing the Dialog Boxes: is it obvious to
the user what he/she is supposed to do?
- Is it obvious what the result Message Dialog box is saying?
- Use proper style conventions in your source code.
- A formula for converting Celsius temperatures to Fahrenheit is
as following: F = C * 9/5 + 32 .
Turn in a printout of your source code and a diskette with the Java file
on it. Name the Java program with your last name and first initial and
the number "1". EX: BookA1.java (note: I'm VERY picky about the name of
the file, including capitalization.) Be sure that your diskette is labeled
with your name.
Grading criteria:
| 1. does it compile & run? |
22 |
| 2. correct processing of the information |
15 |
| 3. user-friendliness: good labeling in the dialog boxes |
5 |
| 4. program source code is commented, logically laid out, and follows
style conventions |
5 |
| 5. files properly labeled |
3 |
| TOTAL POINTS POSSIBLE: |
50 |
|