i) Output: Area
ii) Input Requirements: Mathematically, the base of the triangle is needed, the height is also needed
iii) Processing: How can the base and height be processed to get the Area?
consider the formula Area = ½ x base x height
The solution design for this problem will be discussed in the next POST
I was all excited to see a classic computer science problem. Then I realized that this predates compsci by a long time, yet I wouldn't care at all unless there was code involved.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit