JavaScript Program to Find Volume of Right Wedge
A wedge is a three-dimensional object with two triangular faces and one rectangular face. Examples: Input: a = 2, b = 5, e = 5, h = 6 Output: Volume = 45.0Input: a = 5, b = 4, e = 4, h = 6 Output: Volume = 56.0 Approach: Va is the volume of triangular pyramid i.e. Va = (1 / 3) * area of triangle *