Gives negative integre for n=100

Can you please help me where I am wrong.