Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Given three sides of a triangle. Write the Program to
determine whether the triangle is :
1) Invalid
2) Right Angled
3) Isoscales
4) Equilateral
5) Not Special

An Isoscales right angled triangle should be taken as a
Right Angled Triangle

Answer Posted / sunil

if a, b and c are the three sides of a triangle, then a + b > c
if this is not satisfied, then its not a valid triangle.

To check for right angle, use Pythagoras theorem. Assume
that the longest side is the hypotenuse.

Issosless and Equilateral can be found by simply comparing
the sides.

Is This Answer Correct ?    65 Yes 31 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can any one give an example (Source Code) on virtual function implemetation in Java?

2037


9.Difference between even and odd signals?explain with the diagram?

3406


what are the topics choosen for jam round for interviews

1671


Delta 5 weight scale not connect with oracle application what i can do?

2344


How to set fixed width in particular in html? if i type more character in this it will not push near . this is my question. can u tell me the answer...

2566


qtp 9.2 14 days demo version was expired.I uninstalled how to reinstall this again

2790


hoe to data grid use in sql server 2000?

2088


What is the use of sas software? Is sas and sap are different?

1531


what is web configuration file

2082


Define Form modules, Class modules and Standard modules

2065


Explain three modes in which files can be accessed from python program

1783


< No Frames > tag is used for

2767


hi, all this is shoba m.c.a . i have learned abap but no oppurtunities right now as fresher , right now i want to learn any course on demand any one pls suggest me good course and institute in hyderabad

1813


if 2 is passed as an argument to the method,void GC.Collect then what would be the result?

1671


what is web service in java? have u use before.

2166