Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

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

ID: 3862487 • Letter: M

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 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 binjavaw 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

Explanation / Answer

Use Ctrl+Shift+F in the code area.It will solve ur indentation problems and automatically adds white spaces