Im creating a language translation program and have really confused myself. I have two strings, one English and one another language and by using a switch/case im trying to get it so that it picks a random word from the English array and then asks you to input the translation. I also need it to be sort of like hang man, where you have three tries and each time it compares your input to the word in the array but I cant remember how to do it.
So I basically need help with picking a random word, then checking the user input with the corresponding word in the other array and then after say three guesses displaying what it should be if the user got it right.
can anyone please help me?
p.s. im new to programming so please go easy on me.