The prize of a huge Xenon tank is negative!
The reason of it is that the prize of the rocket uses the int,and the real prize of the rocket is more expensive than 2147483647 dollars. The prize of the rocket should use the long long int.

Bug Planned Found in
Sandbox View


  • Log in to leave a comment
  • Profile image
    5,306 s5ehfr9

    It's because it's a number higher than the upper limit an int can store. Just change the variable type to long and you will end up with a maximum value of 9,223,372,036,854,775,807

    I'm pretty sure that Andrew knows this though.

    9 months ago
  • Profile image

    lol, thanks for letting us know. We are having a big sale on xenon tanks.

    +5 9 months ago


Log in in to upvote this post.