um something i have been wondering for a long time is. how do u make it so the user inputs a word and the program identifies the word as a number so like if someone typed the word frog and it reconized it as the number 5.

You'd create an array of words ahead of time. Then when you have input, simply search through the array until you find it. The location where it's found is the number that the word equals.

whoa thanks alot that answered two of my questions in one no i totally understand what arrays are for and stuff.