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

in programming •  7 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

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

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.