I'm trying to write a pseudocode for finding the area of a trapezoid. Is this right?
THIS IS THE GIVEN INFORMATION
Write a Fortran 90 program to compute the area of the trapezoid.
Upon execution of the program, the user (you) will be prepared to provide the lengths of the two bases - and - in cm. The programmer (you) is told in advance that the height (h) is 3 cm. Your Fortran program should request from the user the two REAL values representing the lengths of the bases and using the value of 3 cm for the height of the trapezoid, compute the area of the trapezoid. Your program should output to the screen the following values: a “title (example shown below), the lengths of the two bases, the height, and the area. You (the user at run time) should provide the executing program with lengths 4.2 cm and 5.6 cm, respectively, for the first and second base lengths.
For example, your output may appear as:
Trapezoid Area Computation
The length of the first base: 4.2
The length of the second base: 5.6
The height: 3
The area: ????
THIS IS MY PSEUDOCODE
-identify the formula for finding the area of a trapezoid
-assign characters to the variables of equation
-prompt the user to use the integer value of 3 for the height
-run the program
-prompt the user to enter the value of the first real base as 4.2
-prompt the user to enter the value of the second real base as 5.6
-compute area of the trapezoid
-display the result