I have to make a Calculator that works something like this:
user enters in: six times five
output: 6 x 5 = 30
i am making the text the user enters a string, but i don't know how to convert from a string to an integer. meaning, i don't know how to make six = 6.
does anybody know? the parseInt method only takes an int from a string, and makes it an int. but how do you make text an int?
any help you could offer would be great. i am just a beginner with Java, and i'm trying to learn the ropes.
thanks.