How to get output on screen with java?

Java on text pad... please help me get started..10 points...?

  • this homework is for my java class its due tomorrow.. can anyone help me... or get me started with the java code.. any help would be appreciated it.. Inch=2.54 centimeters Foot=30.48 centimeters Yard=0.91 meters Mile=1.61 kilometers Based on the conversion table above, write a JAVA program to ask input numbers of inches, feet, yards and miles and output values covered to centimeters, meters and kilometers. Sample run program displayed on screen as below: Pease enter you name: Tom Please enter number of inches: 5 Please enter number of feet: 3 Please enter number of yards: 1 Please enter number of miles: 2 when i compile and run this it should look like this Hi Tom, here is your computing: 5 inches equal 12.7 centimeters 3 feet equal 91.44 centimeters 1 yards equal 0.91 meters 2 miles equal 3.22 kilometers

  • Answer:

    The best way to start is with class MyCalculations { public static void main( String[] args) { // Input code goes here // Calculations go here // Output code goes here } }

Luck at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.