0

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.

2
Contributors
2
Replies
3
Views
10 Years
Discussion Span
Last Post by grunge man
0

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.

0

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

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.