You've got some logic errors I saw pretty early on. I do believe your assignment wants you to populate an array with 10 random numbers THEN start asking the user for their answers.
The way you have...