I am making a program that can solve for x. I have already made the program break the string into individual parts using strtok(). However, I don't know how to make the code that checks an individual token for x. For instance if I have 54x + 8 = 22. The program can break it into the tokens 54x, +, 8, = 22, but I don't know how to make the program recognize that 54 has an x in it. Any help would be appreciated.
Thank you for reading this message