Advertisement
ULK

Лабораторная №5 (1)

ULK
Oct 23rd, 2022
721
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. #include <iostream>
  2. #include <cmath>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8.     int a,b,c;
  9.     cout<<"Enter the length of the sides of the triangle: ";
  10.     cin>>a>>b>>c;
  11.    
  12.     if (a==b&&b==c)
  13.         cout<<"Your triangle is equilateral!!";
  14.     return 0;
  15. }
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement