Unless I'm screwing something up, I think there are three possible answers to this question, and you're looking for the integer one? Given the answers you are looking for, A and C are always the triangles that have one full side of your square, but that's not specified in the problem statement.
I took the scenic route.
12400 Solvers
Back to basics 12 - Input Arguments
525 Solvers
408 Solvers
326 Solvers
97 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!