Challenge: Consoling Meaningful Output
Swipe to start coding
In earlier tasks, we worked with raw numbers, but didn't provide any explanation or context for those numbers. It's essential to accompany the numbers with meaningful text so that the user understands what they represent. In this task, you will extend the previous task by adding text to your output.
Write a console.log statement to display following output:
The area of a trapezium is equal to 170 units.
Note
Do not hardcode the value
170into the output, rather write the arithmetic expression for it based on the given numbers,13,21and10, so that it's calculated first - the same as how it was done in the previous task. The formula is given below for reference.

Løsning
Takk for tilbakemeldingene dine!
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Fantastisk!
Completion rate forbedret til 1.33
Challenge: Consoling Meaningful Output
Sveip for å vise menyen
Swipe to start coding
In earlier tasks, we worked with raw numbers, but didn't provide any explanation or context for those numbers. It's essential to accompany the numbers with meaningful text so that the user understands what they represent. In this task, you will extend the previous task by adding text to your output.
Write a console.log statement to display following output:
The area of a trapezium is equal to 170 units.
Note
Do not hardcode the value
170into the output, rather write the arithmetic expression for it based on the given numbers,13,21and10, so that it's calculated first - the same as how it was done in the previous task. The formula is given below for reference.

Løsning
Takk for tilbakemeldingene dine!
single