1. Engineering
  2. Computer Science
  3. i need help with this thanks write a program in...

Question: i need help with this thanks write a program in...

Question details

I need help with this. Thanks.

Write a program in assemble to calculate the area of a trapezoid of the following parameters.

- shorter side a=3,

- longer side b=7,

- height h=4.

result= (a+b)/2 x h

the whole code is not required. Just show how you would declare all variables that you would need to calculate the area of trapezoid (a, b, h).

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution