Question: Here is my current code. Here are my issues I am trying to fix, can you please explain to me where I am going wrong?
Here is my current code.

Here are my issues I am trying to fix, can you please explain to me where I am going wrong?

Here is my output

Here is the expected output, as far as I can tell it matches the above real time output.

13 public class CheckstyleLab 14 { 150 /** 16 17 private static final int ARRSIZE = 10; /** * Main method which calculates the sum of the squares of the integers 1 to 10 inclusive. * @param args Command line arguments (Unused) 24 public static void main(String[] args) { int[] squares = new int[ARRSIZE]; for (int i = 0; i CheckstyleLab [Java Application] C:\Prog Square of 1 is 1 Square of 2 is 4 Square of 3 is 9 Square of 4 is 16 Square of 5 is 25 Square of 6 is 36 Square of 7 is 49 Square of 8 is 64 Square of 9 is 81 Square of 10 is 100 The Sum of the Squares is 385! CheckstyleLab.java Expected Output.txt X 15quare of 1 is 1 2 Square of 2 is 4 3 Square of 3 is 9 4 Square of 4 is 16 5 Square of 5 is 25 6 Square of 6 is 36 7 Square of 7 is 49 8 Square of 8 is 64 9 Square of 9 is 81 10 Square of 10 is 100 11 The sum of the squares is 385
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
