Contenido del Curso
Introduction to JavaScript
Introduction to JavaScript
Task - Calculate Area of a Trapezium
Swipe to start coding
A trapezium is a four-sided shape with at least one pair of opposite sides that are parallel. For-example:
<< Image Here >>
In this task we are required to calculate the area size of this trapezium. Following is the formula for calculating the area of a trapezium.
<< Image Here >>
Write a console.log
statement which outputs the correct area size of the trapezium shown in the diagram. The value of a
is 13
, b
is 21
and h
is 10
.
Solución
¡Gracias por tus comentarios!
Task - Calculate Area of a Trapezium
Swipe to start coding
A trapezium is a four-sided shape with at least one pair of opposite sides that are parallel. For-example:
<< Image Here >>
In this task we are required to calculate the area size of this trapezium. Following is the formula for calculating the area of a trapezium.
<< Image Here >>
Write a console.log
statement which outputs the correct area size of the trapezium shown in the diagram. The value of a
is 13
, b
is 21
and h
is 10
.
Solución
¡Gracias por tus comentarios!