In Progress

Inputing Three integers

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.

Skills: Javascript

See more: numbers function, integers form, integers and, function numbers, javascript right triangle form, javascript program inputting integers, three form, triangle, strings, natgeo, javascript three, javascript quit, text alert, javascript write display, contrast, input rule, convert javascript program, right triangle, can possibly, program convert javascript, sum function javascript, javascript sum function, can determine, javascript alert form, principle

About the Employer:
( 6 reviews ) Windsor, United States

Project ID: #225373

10 freelancers are bidding on average $30 for this job

AtlanticSoft

Hi please check pmb for details

$30 USD in 1 day
(23 Reviews)
6.0
NickolaS

Hi, please, check your PM

$30 USD in 0 days
(31 Reviews)
5.9
dboyzhang

Can complete it immediately. Please see PMB for details. Bo Zhang

$30 USD in 0 days
(44 Reviews)
5.5
value4u

Hi, Please see your PMB. Thanks.

$30 USD in 0 days
(20 Reviews)
5.4
natgeo

Please see PM. Thanks

$30 USD in 0 days
(27 Reviews)
5.3
sinisa

Hi, sounds interesting!

$30 USD in 1 day
(25 Reviews)
4.5
sakshi2004

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 t More

$30 USD in 1 day
(6 Reviews)
3.9
e3d

Hello. Willing to do it for $20. Thanks.

$30 USD in 1 day
(6 Reviews)
3.4
SteeleR

i can do this.. See PMB

$30 USD in 0 days
(3 Reviews)
3.0
PoornimaS

I have it ready. I can send you the page whenever you want

$30 USD in 0 days
(0 Reviews)
0.0