Miscellany
public cpp v1 · immutable#include <iostream>using namespace std;int main (){ int x, y, z; int a, b; a = x^2 + y^2; b = z^2; cout << "Enter three angles : "; cin >> x; cin >> y; cin >> z; if ( x != y && x != z ) cout << "This is a scalene triangle.\n"; else if( a == b ) cout << "This is a right triangle.\n"; else cout << "This is a isosceles triangle.\n"; return 0;}