This may sound rather basic but here goes....
I'm trying to use the scanf function to allow the user to input a 6 digit number. Just as an example lets say its 123456. What I need to be able to do is have the user input the number without any spaces inbetween the digits, but if I do scanf( "%i%i%i%i%i%i", odd1, even1, odd2, even2, odd3, even3) the function assigns the entire number just to odd1. If I place spaces inbetween the %i's it works just fine, but then the user has to input the number with spaces Anyone got any ideas?