GitHub Copilot
@gvwilson 4 * n / 5; should keep integer arithmetic...
@luchostein @gvwilson
4* n / 5
will return lots of non-integer values. Also if the input and thus output are not to be computed in cents, you have a non-integer input right off the bat.