From 4b4532ec2f997176ca54a9c264073d9e6fcaedc6 Mon Sep 17 00:00:00 2001 From: Marin <51886896+mar1@users.noreply.github.com> Date: Mon, 14 Jun 2021 23:08:15 +0200 Subject: [PATCH] Exercises Level 2 > Triangle example Typo error in the area of the triangle (should be 100 instead of 50 with given examples values) --- 03_Day_Booleans_operators_date/03_booleans_operators_date.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/03_Day_Booleans_operators_date/03_booleans_operators_date.md b/03_Day_Booleans_operators_date/03_booleans_operators_date.md index 1b5298e..8d87a4f 100644 --- a/03_Day_Booleans_operators_date/03_booleans_operators_date.md +++ b/03_Day_Booleans_operators_date/03_booleans_operators_date.md @@ -553,7 +553,7 @@ console.log(`${date}/${month}/${year} ${hours}:${minutes}`) // 4/1/2020 0:56 ```sh Enter base: 20 Enter height: 10 - The area of the triangle is 50 + The area of the triangle is 100 ``` 1. Write a script that prompt the user to enter side a, side b, and side c of the triangle and and calculate the perimeter of triangle (perimeter = a + b + c)