Showing error when i give a bigger input

when i give a five digit number the programe is running but when i give a bigger number like 10 digits it is showing error

Hey @pulkitgupta622 You are getting error for bigger numbers bcoz when you try to store bigger number in INT there is a limit to it you can store a 10 digit number in a INT you have to use LONG datatype for that.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.