Get your own website
main.dart:3:9: Error: A value of type 'double' can't be assigned to a variable of type 'int'.
  total /= 2;
        ^