A Pen by José Antônio Gomes on CodePen.
Last active
October 24, 2025 19:44
-
-
Save jose35info/fd4de25b8f0adbc73ce2907f1a360eca to your computer and use it in GitHub Desktop.
resoluçao do problema "medidas"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let a=4.0; | |
| let b= 3.5; | |
| let c= 5.2; | |
| let areaQuadrado= a**2; | |
| let areaTriangulo=(a*b)/2; | |
| let reaTrapezio= (a+b)*c/2; | |
| console.log(` ${areaQuadrado.toFixed(3)}`); | |
| console.log(` ${areaTriangulo.toFixed(3)}`); | |
| console.log(` ${reaTrapezio.toFixed(3)}`); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Algoritmo para medida