Apr-27-2022, 12:43 PM
(This post was last modified: Apr-27-2022, 12:43 PM by deanhystad.)
The last loop is superfluous. The first loop should range from zero to x+1. The middle loop starts at i and ends at x-i+1. And there will be duplicates that must be culled. Theres got to be a better approach.