Is there a way I can store a double digit integer in a single array slot? Also, I know my code is completely wrong I just need help understanding a method to perform the task.
Also, I know input[0] will just check and output the first digit of the users input. I tried numValue = input - '0';, and I believe it outputted the address of input - 48. Moreover, I tried while (isalpha(input));, and I got a Run-Time error.