Closed harshraj8843 closed 2 years ago
@harshraj8843 I'll give this a shot if you'd like. Did you just need a single class or a whole package? Also, should I just branch off main?
Hey @Anzo52
Thanks for contributing to this project 😃
Did you just need a single class or a whole package?
A single class
should I just branch off main?
You can create new branch from master
👍🏻
@harshraj8843 Alrighty, I started a PR...I think I messed up somewhere in the flow though.
@harshraj8843 Alrighty, I started a PR...I think I messed up somewhere in the flow though.
Just move TrapezoidArea.java
to programme/area-of-trapezoid
Title of article
Write a Java program that to compute area of trapezoid
Area of a trapezoid = (
base 1
+base 2
) *height
/ 2Example:
Base 1 = 5, Base 2 = 10, Height = 7
Area of the trapezoid = (5+10)*7/2 = 52.5
Additional information
Code of Conduct