Question: public class Lab1 { public static void main( String args[] ) { final double INCHES_PER_METER = 39.3701; Scanner kbd = new Scanner (System.in); // ERASE

 public class Lab1 { public static void main( String args[] ) { final double INCHES_PER_METER = 39.3701; Scanner kbd = new Scanner (System.in); // ERASE ALL THE COMMENTS BELOW AFTER YOU GET YOUR PROGRAM WORKING // DO NOT HAND IN A FILE WITH ALL THESE COMMENTS IN IT! // declare whatever variables you will need here // prompt user with this message: "Enter your first name: " then read response into a String variable (i.e. firstName) // prompt user with this message: "Enter your middle initial: " then read response into a String variable (i.e. middleName) // prompt user with this message: "Enter your last name: " then read response into a String variable (i.e. lastName) // prompt user with this message: "Enter your ht. in inches: " then read response into an int variable (i.e. htInInches) // define a double var (i.e htInMeters) and assign the correct value into it using htInInches and the conversion factor // define an int var (i.e. wholeFeet) and assign the correct value into it using htInInches and the / (div) operator // define an in var (i.e. remainderInches ) and assign the correct value into it using htInInches and the % (mod) operator /* print out a summary that is formatted **EXACTLY** like below: (assuming William J Clinton at 75 inches) Note the spacing and the comma after Clinton and the DOT after the 'J' is added by you. Clinton, William J. 1.9049989713005555 meters 6'3" Be sure that the last 3 lines printed by your program are formatted EXACTLY as shown above with no other info or text being printed after these three lines. */ } // END MAIN METHOD } // END Lab1 Need help solving this problem. It is a basic java programming course so please explain using basic functions and vocabulary! 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!