From 844447fbd29b4a85459ced3a3e2ca120508fb179 Mon Sep 17 00:00:00 2001 From: Xiao Zhong Date: Thu, 24 Jun 2021 08:21:08 -0600 Subject: [PATCH] Update 2_ConditionalsExercise.js (#1573) --- prework/2_ConditionalsExercise.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/prework/2_ConditionalsExercise.js b/prework/2_ConditionalsExercise.js index 30e16622d..717ff7629 100644 --- a/prework/2_ConditionalsExercise.js +++ b/prework/2_ConditionalsExercise.js @@ -12,7 +12,7 @@ // function exercise0(num1, num2) { // let myAnswer; // // ------------------------------------------ -// // Write your code for exercise 1 below here: +// // Write your code for exercise 0 below here: // // ------------------------------------------ // // // ------------------------------------------ @@ -27,7 +27,7 @@ // function exercise0(num1, num2) { // let myAnswer; // // ------------------------------------------ -// // Write your code for exercise 1 below here: +// // Write your code for exercise 0 below here: // // ------------------------------------------ // myAnswer = num1 + num2; // // ------------------------------------------ @@ -48,7 +48,7 @@ // Write an if statement that checks if a variable `num1` is greater than 10. // If it is, then within your if statement code change the value of answer1 so // that its new value would be a string that says: -// "The value of num1 is and is greater than 10". +// "The value of num1 is and is greater than 10". function exercise1(num1) { let answer1 = ""; @@ -206,7 +206,7 @@ function exercise9(item) { } // EXERCISE 10. -// This is question is a modified version of a classic programming question +// This question is a modified version of a classic programming question // called "Fizz Buzz" // Using a conditional, assign a value of: // "Fizz" to `answer10` if the value of `num10` is divisible by 3