#include<stdio.h>
#include<conio.h>
#include<conio.h>
void main()
{
{
float a,b,c,A,d;
clrscr();
printf("enter value of first angel A:");
scanf("%f",&a);
printf("enter value of second angel B:");
scanf("%f",&b);
clrscr();
printf("enter value of first angel A:");
scanf("%f",&a);
printf("enter value of second angel B:");
scanf("%f",&b);
printf("enter value of threed angel C:");
scanf("%f",&c);
d=a+b+c;
if(d==180)
{
{
printf("this is a triangel");
}
else
{
{
printf("this is not triangel");
}
getch();
}
No comments:
Post a Comment