0
Why this code returns a negative value?
So I tried to write a Life Calculator code and this was the problem. https://code.sololearn.com/cBMsiP52MIAJ/?ref=app
2 Antworten
+ 6
Overflow. The value of 365*24*3600*100 is too big for the integer data type. Use long long instead
+ 1
Thx Anna :)