You could easily verify the answer by hand for small numbers of shirts, then run your debugged code to compute the answer for 100 shirts.
You could easily verify the answer by hand for small numbers of shirts, then run your debugged code to compute the answer for 100 shirts.