Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
I did not understand the question give me the code for this this will help me loot
조회 수: 1 (최근 30일)
이전 댓글 표시
write a function called tri_area that return the area of triangle with base b and height h, where b and h are the input argument function in that order.
댓글 수: 1
답변 (1개)
Vishal Gaur
2020년 6월 26일
Hi, Amit Nath, yopu can check try this code:
function area=tri_area(b,h)
area = (b*h)/2;
end
If you face any error check this comment
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!