i need to check that correct input is given to my prog.
i need to input a student number containing only 6 integers (e.g. 123456) and nothing else
in case something else is typed in the prog should just repet the request for a 6 integer string or something like that
how do i do this in c?