CORRECT OUTPUT WHILE COMPILING BUT RUN TIME ERROR
hello @mverma_be19
a) use e+1 in place of 1000
b)
use while loop in place of if.