201k views
2 votes
Write a program to calculate the area of a triangle whose base is 10cm and height is 6cm

User Sari K
by
4.9k points

1 Answer

1 vote

Answer:

30cm

Step-by-step explanation:

Height X Base

6cm X 10cm

60cm

Then take half because a triangle is half a square and we are using a square formula.

60cm divided by 2

=30cm

User Fabrizio Botalla
by
4.8k points