diff --git a/exercises/day1part1_R-intro_exercises.R b/exercises/day1part1_R-intro_exercises.R index d1c697c..1207fff 100644 --- a/exercises/day1part1_R-intro_exercises.R +++ b/exercises/day1part1_R-intro_exercises.R @@ -7,10 +7,12 @@ # Pick a number; save it as x +x <- 5 # Multiply x by 3 + # Take the log of the above (Hint, you need the function log() here) @@ -20,13 +22,15 @@ # Square the above + #### Comparisons and Logical Operators #### # Check if 1 is bigger than 2 - +1 > 2 # Check if 1 + 1 is equal to 2 +1 + 1 == 2 # Check if it is true that the strings "eat" and "drink" are not equal to each other