Post a New Question

Computer science

posted by on .

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 :)

  • Computer science - ,

    a typical double method looks like this:


    double areaOfTrapezoid(double A, double B, double H){
    double area;
    area=........ (according to your instructions.
    return area;
    }

Answer This Question

First Name:
School Subject:
Answer:

Related Questions

More Related Questions

Post a New Question