Thanks, about the help with scanf ! and i corrected my infinite looping code.
but the question asks only for 2digit numbers so why would we need the user/judge to enter more ?
ALSO is there a method to know whether a function echoes input or not ? because it is displayed on the screen so scanf gives an impression that it echoes.[/quote]