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

In the code, i should
1. Create the prototype for the method
2. create the method
3. call it from the main()

2 answers

What program are you using?
Please check responses to your previous questions before reposting. If reposting, it would be a good idea to quote the original question (date/time, or link).

Here's the answer to you original question:
http://www.jiskha.com/display.cgi?id=1320286938#1320286938.1320287712
Similar Questions
  1. THIS IS C PROGRAMMINGI NEED TO CREATE A METHOD! Create a method areaOfaTrapeziod when given a, b, and h (all doubles), will
    1. answers icon 1 answer
    1. answers icon 1 answer
    1. answers icon 0 answers
  2. Consider the following code.public static int recur3(int n) { if (n == 0) return 0; if (n == 1) return 1; if (n == 2) return 2;
    1. answers icon 2 answers
more similar questions