Hey everyone, im new to java and been watching tutorials online and stuff. Ive been trying to create this simple program and been having problems. Ive been trying to figure out how to give an string input worth a number value. For example say the user inputs the word "cat". I would want that "cat" to have a number value so i can use in later to solve a problem. Any help would be apreciated thanks.