n1 and n2 are two ints ...
If the input is legal but the entered n1 or n2 or the calculated output value is out of the range of an unsigned long int value, then the corresponding output should be
out of range

how would this be possible with scanf?