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!