Asked by Nan
THIS IS C PROGRAMMING
I NEED TO CREATE A METHOD!
Create a method areaOfaTrapeziod when given a, b, and h (all doubles), will return the area (double) of a trapezoid. Use the equation pictured below.
THANKS IN ADVANCE :)
I NEED TO CREATE A METHOD!
Create a method areaOfaTrapeziod when given a, b, and h (all doubles), will return the area (double) of a trapezoid. Use the equation pictured below.
THANKS IN ADVANCE :)
Answers
Answered by
MathMate
a typical double method looks like this:
double areaOfTrapezoid(double A, double B, double H){
double area;
area=........ (according to your instructions.
return area;
}
double areaOfTrapezoid(double A, double B, double H){
double area;
area=........ (according to your instructions.
return area;
}
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.