Hello everyone,
why does this program want us to perform operations on a string?
I have written a program which is taking into consideration that a number would be input but it is not accepting that solution. Can some please help me out in this?


Ofcourse it will not work if you take an integer as input .Because the length of the number is 50 , so int does not have that range
the maximum you can store for an int is 2^31.
and that is of order 10^9;


Oh! Tysm!

1 Like