I am working on a project where I need to Print out two arrays and check what parts are the same. I tried using this code, but it didn't do anything.
For the printing problem, I tired to just print out the (int) array, but the output was weird.
1 2 3 4 | if (Submitted_Answers[ 0 ] == Correct_Answers[ 0 ]) { System.out.println( "success" ); } |
1 2 3 4 5 6 | if (QuestionNumber == 20 ) { System.out.print (Submitted_Answers); System.out.print (Correct_Answers); } |