Computer Science, asked by mithunaclass8sdms, 2 months ago

the statement that returns the areas of the triangle is​

Answers

Answered by Anonymous
4

Answer:

function [area] = tri_area([b,h]);

tri_area([b,h])=(0.5)*(b)*(h)

area=tri_area([b,h])

end

%command window

area = tri_area[3,2])

Answered by Anjaliikamble
1

unction [area] = tri_area([b,h]);

tri_area([b,h])=(0.5)*(b)*(h)

area=tri_area([b,h])

Similar questions