5. See the code below on line 9 there is a missing instruction: Calculating the hypotenuse Please enter the length of side b in cm 3 2 import math 3 side b=float(input("Please enter the length of side...


5. See the code below on line 9 there is a missing instruction:<br>Calculating the hypotenuse<br>Please enter the length of side b in cm 3<br>2 import math<br>3 side b=float(input(
cm ")) 5 side_c = math.sqrt((side_a * side_a) + (side_b*side_b)) 6 print ("The length of the hypotenuse is ",side_c. "cm") 4 7. 8. #find the area of the triangle 9 area_T= ( print("The area of this triangle is ",area_T) 10 Select the correct code: a) (side_a * side_b)/2 b) (side_a*side_a)/side_c c) (side_b*side_c)/2 Explain why this code will complete the program as required. You may wish to draw a diagram to help communicate your ideas. "/>
Extracted text: 5. See the code below on line 9 there is a missing instruction: Calculating the hypotenuse Please enter the length of side b in cm 3 2 import math 3 side b=float(input("Please enter the length of side b in cm The length of the hypotenuse is 5.0 cm Please enter the length of side a in cm 4 ")) The area of this triangle is 6.0 side_a = float (input("Please enter the length of side a in > cm ")) 5 side_c = math.sqrt((side_a * side_a) + (side_b*side_b)) 6 print ("The length of the hypotenuse is ",side_c. "cm") 4 7. 8. #find the area of the triangle 9 area_T= ( print("The area of this triangle is ",area_T) 10 Select the correct code: a) (side_a * side_b)/2 b) (side_a*side_a)/side_c c) (side_b*side_c)/2 Explain why this code will complete the program as required. You may wish to draw a diagram to help communicate your ideas.

Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here