Simple Problem Definition -to develop a program to compute the Area of a Right-angled triangle

in #programming8 years ago

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

Sort:  

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.