Question: can someone explain to me what i did wrong and show me what to fix for this one too SUBMITTED 0% SAVE SUBMIT INSTRUCTIONS RUN

can someone explain to me what i did wrong and show me what to fix can someone explain to me what i did wrong and show me
for this one too what to fix for this one too SUBMITTED 0% SAVE SUBMIT INSTRUCTIONS

SUBMITTED 0% SAVE SUBMIT INSTRUCTIONS RUN CODE GRADING RUN CODE CLEAR STOR A ERROR . /tmp/sub- 202546627/05_L2_Activity_One jave: 40: error reached end of file while parsing import java.util.Scanner; - public class U5_L_2_Activity_one { public static void monthName(int monthnum) 5. if (monthNum =- 1) { 6 System.out.printin("January"); 7- } else if (nonthnum - 2) { 8 System.out.print In("February"); 9- } else if (monthnum - 3) 10 System.out.printin("March"); 11- } else if (monthlum 4) { 12 System.out.printin("April"); 13- } else if (monthlum 5) - 14 System.out.println("May"); 15- } else if (monthnum == 6) System.out.printin(June") 17 - } else if (monthnum * 7) { 18 System.out.println("July"); 19 } else if (monthium-8) 20 System.out.println("August"); } else if (monthnum= 9) 22 System.out.print In (September") 23- > else if (monthNum = 10) System.out.print In (October); } else if (monthlin -11) System.out.printin (November"); } else if (monthlm 12) System.out.printin("December) 29 > else 16 Terror 21 - 24 25 - 26 27- I } 32 34 35 36 37 30 39 public static void main(Strinetares) { Scanner userInput - new Scanner(System.in) System.out.print(eese enter a month number: "); int month user Input.nextInt() // calling our other method 1/monthlone months RUN CODE CLEAR STE A ERROR 8 Lesson 3 Coding Activity Question 1 / import java.util.Scanner; import edhesive.shapes. 5. public class U5_L3_Activity_onel 7 * Add the method makeSquare here */ public static void make Square (Rectangle ) { 10 double length = r.getLength(); 11 r.setWidth(length); 12 13 14 - public static void main(String[] args) { 15 Rectangler new Rectangle(4.0,7.0); 16 makeSquare(r); 17 System.out.println(); /tmp/sub- 484919898/US_13_Activity. One java, 19: error reached end of file while parsing 1 Terror 18 19 20 >

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!