Well, I would use an Array to hold my questions, and iterate the array, if the user answer correctly then I will remove the answer for the array, and I would have a while with the round variable, so the user can have only 2 rounds. Also check how much the user scored by looking how many answers he responded (the ones removed from the questions array). I hope it gives you a hint.
Well, I would use an Array to hold my questions, and iterate the array, if the user answer correctly then I will remove the answer for the array, and I would have a while with the round variable, so the user can have only 2 rounds. Also check how much the user scored by looking how many answers he responded (the ones removed from the questions array). I hope it gives you a hint.
I am not allowed to use arrays for this assignment.