Advertisement
RAJIBRAJU

3

Jun 11th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.27 KB | None | 0 0
  1. #include <stdio.h>
  2. int main()
  3. {
  4.     double x,y,z;
  5.     printf("Enter Three Angales:");
  6.     scanf("%lf %lf %lf",&x,&y,&z);
  7.     if((x+y+z)==180){
  8.         printf("Triangle is Valid\n");
  9.     }
  10.     else
  11.         printf("Triangle is not Valid!!!");
  12.  
  13.  
  14.     return 0;
  15.  
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement