Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Write a function in pseudocode called computeArea that computes the area of a triangle. The algorithm for the area computation is this: Area = * Base...

Write a function in pseudocode called computeArea that computes the area of a triangle. The algorithm for the area computation is this: Area = ½ * Base * Height. Decide what the inputs and output should be.Finally, write an assignment statement to exercise this function.

//computeAreaInput two values h and b for height and breadth(value can be precision from)Apply the formula and calculateR=0.5*h*bWrite the output R. //The output will be in a precision form
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question