1 2 3 4 5 6 7 8 9 10 11
void case1(int a, int b, int c) { if (a > 0 && b > 0 && c > 0) { if (a + b == c * c) { return; } else { return; } } else { return; } }
You can clone a snippet to your computer for local editing. Learn more.