Question: My teacher made some comments about my code below, can you please fix it. Thanks O Java Java Combination/src/Combinejava Eclipse File Edit Source Refactor Navigate

 My teacher made some comments about my code below, can you

please fix it. Thanks O Java Java Combination/src/Combinejava Eclipse File Edit Source

My teacher made some comments about my code below, can you please fix it. Thanks

Refactor Navigate Search Project Run Window Help Package Explorer El Combine,java 23

O Java Java Combination/src/Combinejava Eclipse File Edit Source Refactor Navigate Search Project Run Window Help Package Explorer El Combine,java 23 E 1 import java util. Scanner Combination 3 public class Combine f Src a (default package) 4e public static void main (String [Jargs) Combine java E JRE System Library JavaSE-1 5 Scanner s new Scanner (System. in System.out.println("1: WeightCalculater"); Count Days hoursseconds System out.println("2 Enter a Score Grade Graphical UI int user select next Int() Java Complete if (user select 1) Leap System.out.println("Enter Your Weight"); 10 Possible outputs 11 double Weighton Earth next Double() Seconds StartingPoint 12 eight 13 if (Weighton Earth K30) System.out.println("Invalid Number"); 14 else 15 double WeightonMoon 17 Weighton Earth 16 Console E3 sterminated Combine [Java Application] C:\Program FilesVavajrel 8.0 111 bin\javaw exe (Feb 19, 2017, 2:07:50 PM) 1: WeightCalculater 2: Enter a Score Enter Your Weight 170 Weight on earth: 170.0 Weight on moon: 28.900000000000002

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!