Hello ,
I wrote a code that reads a variable that has to be superior to 0 and inferior to 9999999 but i want it to start with a 0 for example "05946782" but when i enter such an input it skips to the next instruction where i put another scanf an integer superior to 0 and inferior to 10 with an error message "Invalid" so when i enter as input in the first scanf "09456148" it automatically skips to the next scanf and displays "Invalid"
so is there a way to not let him do that ?
Thanks

https://cboard.cprogramming.com/imag...BJRU5ErkJggg==