Ad Code

NEW POST

6/recent/ticker-posts

SRM ELABS PROBLEMS : Swathi is working in a world famous pizza restaurant.

 

#include <stdio.h>

int main()

{

    int angle1,angle2,angle3;

    scanf("%d%d%d",&angle1,&angle2,&angle3);

    if(angle1+angle2+angle3==180)

    {

        printf("Pizza Slice is Valid");

    }

    else

    {

        printf("Pizza Slice is Not Valid");

    }

return 0;

}

Post a Comment

0 Comments