Ad
  • Default User Avatar

    It's definetely not the best practice.
    At least why do you make int counter in loop =0 ?
    0,1,2 never will be multiple to 3,5, you just add 3 redundant iterations
    Just so much dissapointed to see that this solution marked as a good one