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: write javascript program allows user input integers, numbers function, integers form 1, 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, javascript sum sum, right triangle, can possibly, program convert javascript, sum function javascript, javascript sum function, can determine

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

Project ID: #225373

10 freelancers are bidding on average $30 for this job


Hi please check pmb for details

$30 USD in 1 day
(23 Reviews)

Hi, please, check your PM

$30 USD in 0 days
(31 Reviews)

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

$30 USD in 0 days
(44 Reviews)

Hi, Please see your PMB. Thanks.

$30 USD in 0 days
(20 Reviews)

Please see PM. Thanks

$30 USD in 0 days
(27 Reviews)

Hi, sounds interesting!

$30 USD in 1 day
(25 Reviews)

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)

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

$30 USD in 1 day
(6 Reviews)

i can do this.. See PMB

$30 USD in 0 days
(3 Reviews)

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

$30 USD in 0 days
(0 Reviews)