I am doing an ISBN digit check program. I'm not actually in school, but it's on the curriculum in a lot of C classes. Naturally want to be able to do it.
I am trying to figure it all out, having tried twice and failed. My biggest hurdle/question is:
Can you have a "scanf" function that sees the user input/ISBN like this: 1234567890.
With no spaces or dashes, and have the program not treat the ISBN input as one number? Have the program understand that it should take each digit and place each one in a slot on an array? So, using the above number, it would get: isbn[0] = 1, isbn[1] = 2, etc.
I have no program to show because I have scrapped them all, seeing as how i was going about it in completely the wrong way. I want to start fresh with new knowledge.