#include<iostream.h>
#include<conio.h>
#include<stdio.h>
void main()
{
#include<conio.h>
#include<stdio.h>
void main()
{
clrscr();
int a,b,c,angle;
cout<<"\n Enter the three sides=";
cin>>a>>b>>c;
if(a!=b&&b==c) OR (a==b||b==c||c==a)
{
int a,b,c,angle;
cout<<"\n Enter the three sides=";
cin>>a>>b>>c;
if(a!=b&&b==c) OR (a==b||b==c||c==a)
{
cout<<"\n Isoceles Triangle.";
}
Else
{
cout<<"\n Given triangle is not a Isoceles Triangle.";
}
Getch();
}
}
Explanation :
Isosceles property:
- In an isosceles triangle, two sides are equal in length. (Traditionally, only two sides equal, but sometimes at least two.) An isosceles triangle also has two equal angles: the angles opposite the two equal sides.
No comments:
Post a Comment