I'm trying to convert the string values to integers, however whenever i do this, it gives me the ASCI value of the character instead of the actual typed string.
Example:
a user inputs "11101" on there keyboard to a string variable named binary
for(int i = 0; i < binary.length(); i++){
storage[i] = Integer.valueOf(binary.charAt(i));
}
if I look at the values of storage[i], i will see only the ASCI values of the numbers, and not the actual 1's or 0's