If a triangle has two perpendicular sides with lengths $3$ and $4$, the length of the remaining side is $5$ by the Pythagorean theorem. Assume that a non-right triangle $T$ with side lengths $3,4,5$ exists. By the $SSS$ criterion of congruence, it is possible to overlap such triangle with the previous right triangle, contradiction.
Unwrapped version: by $SSS$, there is a unique triangle with side lenghts $3,4,5$, up to isometries. Since there is a right triangle with such side lengths, every triangle with side lenghts $3,4,5$ is a right triangle.
Alternative, creative version: by Heron's formula, the area of a triangle with side lenghts $3,4,5$ is $6$. That implies the orthogonality of the sides with lenghts $3$ and $4$, since $6=\frac{3\cdot 4}{2}$.