Advertisement
DasShelmer

1.3.19

Oct 12th, 2019
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.40 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.     // No II.19
  6.  
  7.     setlocale(LC_ALL, "Russian");
  8.  
  9.     double a, b, c;
  10.     bool rb;
  11.  
  12.     cout << "Enter a, b, c = ";
  13.     cin >> a >> b >> c;
  14.     cout << endl;
  15.  
  16.     rb = a == b || a == c || b == c;
  17.  
  18.     cout << "Result = "<< (rb ? "Равнобедренный" : "Не равнобедренный") << endl;
  19.     return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement