I would like to make my program grab an integer from the user (binary) and convert it to a normal number, I plan to do this manually but I need to know how to do something first:
If the user enters, for example, 10110101 I need to be able to go through each single digit. Let's say that is the variable "x". How would I get to know what x[4] is?
I'm probably not explaining this very well, but I tried my best, I just need to be ably to grab single digits from an entered integer.
Thanks,