1. Use Heron’’s formula for finding the area of a triangle (see below). Consider

Need help with assignments?

Our qualified writers can create original, plagiarism-free papers in any format you choose (APA, MLA, Harvard, Chicago, etc.)

Order from us for quality, customized work in due time of your choice.

Click Here To Order Now

1. Use Heron’’s formula for finding the area of a triangle (see below). Consider writing out your variables and functions on a scratch piece of paper before you start coding. You will have five variables – three for the sides, one for the semi-perimeter (s), and one for the final result (area). Use the variable names side1, side2, and side3 to represent the three sides. Use the variable name s to represent the semi-perimeter. Finally, use the variable name area to represent the area. HINT: Use the Math.sqrt function to calculate the area. 2. To round the area to the nearest tenth, create a new variable to represent the new rounded calculation, and use the toFixed( ) method. Use the variable name round to represent the final result

Need help with assignments?

Our qualified writers can create original, plagiarism-free papers in any format you choose (APA, MLA, Harvard, Chicago, etc.)

Order from us for quality, customized work in due time of your choice.

Click Here To Order Now