Im doing a c++ programming project where for every 4 tickets purchased 1 is free. Would i use some sort of if statement or while statement?

Or is it just a regular math formula?
6 answers 6