16 September 2004 - java_dev (original) (raw)
Java developers
September 16th, 2004
12:02 am - |
---|
02:36 pm - |
---|
| | 05:37 pm - reuptake Thanks for all your help on the last question! Now, I have a new assignment I would like to verify if I did correctly. I probably lack self confidence, or something.Here's the exact instructions for the assignment"As an individual exercise, write a program named InchesToCentimeters that includes a static method to convert inches to centimeters, printing the result on a line. Be sure to print the input value, the output value, and the units for each. Then, in the main method of your program, invoke your conversion method for the values 12, 1, and 2.0. The result should be that your program will print three lines total. Save your program in a file named InchesToCentimeters.java "My code:**( Click hereCollapse )**Is all of that okay? Does it address all the requirements of the assignment? Thanks so much for your help! |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |