Hello,
I am currently working on a code for my intro to java class and i need some help. Im supposed to make a program that checks the answers to a driver's license test. we are to create two arrays, one with all of the right answers, and the other that holds the user's answers. (I am here in the code so far, everything works)
I am to compare both arrays, and find the number of correct answers. I am also to find which are incorrect and which number it is (theres 20 questions).
i have looked online and on youtube but i cant seem to find anything that will help me with this. My book only covers how to compare the sizes of the arrays not the elements themselves. i have no idea how to compare them, let alone finding and storing the correct ones, and the incorrect ones with its corresponding number.
any tips or ideas that could help me out? =/