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 bb376ae..9defedb 100644 --- a/03_Day_Booleans_operators_date/03_booleans_operators_date.md +++ b/03_Day_Booleans_operators_date/03_booleans_operators_date.md @@ -556,7 +556,7 @@ console.log(`${date}/${month}/${year} ${hours}:${minutes}`) // 4/1/2020 0:56 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) +1. Write a script that prompt the user to enter side a, side b, and side c of the triangle and calculate the perimeter of triangle (perimeter = a + b + c) ```sh Enter side a: 5 @@ -571,7 +571,7 @@ console.log(`${date}/${month}/${year} ${hours}:${minutes}`) // 4/1/2020 0:56 1. Slope is m = (y2-y1)/(x2-x1). Find the slope between point (2, 2) and point(6,10) 1. Compare the slope of above two questions. 1. Calculate the value of y (y = x2 + 6x + 9). Try to use different x values and figure out at what x value y is 0. -1. Writ a script that prompt a user to enter hours and rate per hour. Calculate pay of the person? +1. Write a script that prompt a user to enter hours and rate per hour. Calculate pay of the person? ```sh Enter hours: 40 diff --git a/05_Day_Arrays/05_day_arrays.md b/05_Day_Arrays/05_day_arrays.md index 0dae635..64ec156 100644 --- a/05_Day_Arrays/05_day_arrays.md +++ b/05_Day_Arrays/05_day_arrays.md @@ -733,10 +733,10 @@ const webTechs = [ const shoppingCart = ['Milk', 'Coffee', 'Tea', 'Honey'] ``` - - add 'Meat' in the beginning of your shopping cart if it has not been already added - - add Sugar at the end of you shopping cart if it has not been already added - - remove 'Honey' if you are allergic to honey - - modify Tea to 'Green Tea' + - Add `Meat` in the beginning of your shopping cart if it has not been already added + - Add `Sugar` at the end of your shopping cart if it has not been already added + - Remove `Honey` if you are allergic to honey + - Modify `Tea` to `Green Tea` 1. In countries array check if 'Ethiopia' exists in the array if it exists print 'ETHIOPIA'. If it does not exist add to the countries list. 1. In the webTechs array check if Sass exists in the array and if it exists print 'Sass is a CSS preprocess'. If it does not exist add Sass to the array and print the array. 1. Concatenate the following two variables and store it in a fullStack variable.