The sum of the lengths of any two sides of a triangle must be greater than the length of the third side. For example, the numbers 3, 4 and 5 can form a triangle because 3+4>5, 4+5>3, and 5+3>4. In contrast, the numbers 1,2, and 5 cannot form a triangle because 1+2<5. Thus, if you are given any three integers, you can determine whetehr they can possibly form a triangle or not by applying this general principle.
Write a Javascript program that allows a user to input three intergers using the text boxes in a form. (hint: you may need to use the built-in pareseINT function to convert the input strings to integers.)Test the three integers to determine if they can be formed into a triangle using the rule given above. Also test if the resulting triangle would be a right triangle using Pythagorean theorem, Display an alert box to inform the user whether their integers can form a triangle or a right triangle ( tell them which) or if the integers cannot form a triangle. Continue accepting integers until user decideds to quit.
Hi Sir,
I have understood you requirements.
I can give you timely delivery with excellent quality. I have more than 4+ years of experience in Javascript and related technologies.
Please give me an opportunity to work with you.
Please see PM.
Thanks