Pseudocode to describe how to get the information and output of a triangle.

Thank you.

depends on what information you want

No idea what the "output of a triangle" is