How do I get 4 instead of 4.0 in "Squirrels and nuts – 1" task? [closed]

To avoid a float result, use integer division: // instead of /.

Leave a Comment