b, and c, which are the lengths of the three sides of a triangle ABC. You should write statements to calculate the length of the median ma (if a, b, and c are not 03 sides of the triangle then return 0)
Hints:
. a, b, and c are the lengths of the three sides of the triangle if each value is less than the sum of the others (a < b + c, b <a+c, c<a+b)
. ma² = (2*(b²+c²)-a²) /4
You can create new functions if you see it as necessary
171
2 of 3
Paper No: 1
. Do not edit given statamants in the main function
Zoom
FUO
+ 100%
Close