Comment Comment by soxfox42 That solution fails for any value that is a multiple of neither 3 nor 5. In those cases, the result should be the original number. parent soxfox42 11 months ago