In my code i take an inputted number, which could be in hex with letters, and put each individual digit into a seperate space in an array. To change the letters in hex to numbers in decimal, i tried doing it two ways: (a is my array name, and i am trying to check to see if the character at k in my array is the letter a.)
if (a[k] = "a")
which gives me an "incompatible types" error
or
if (a.charAt[k] = "a")
which gives me a "cannot resolve symbol method charAt(int)"
I don't have any idea what to do from here, or even if i'm remotely close to being right. Thanks in advance.