Contact: aviboots(AT)netvision.net.il
39,892 questions
51,823 answers
573 users
const base1 = 4.0; const base2 = 7.0; const height = 5.0; const area = (base1 + base2) / 2.0 * height; console.log("Area of Trapezium = " + area); /* run: "Area of Trapezium = 27.5" */