Did they mean to write tomorrowWeather in the 2nd if statement?
This question is confusing and appears incomplete as written.
You don’t have to focus on the declaration of the variable ‘tomorrowWeather’, because both If statements is comparing the variable ‘todayWeather’ with the string ‘rainy’.
The difference between those two statements is that the first statement is checking whether ‘todayWeather’ is equal to ‘rainy’. For the second statement, it’s checking whether ‘todayWeather’ is not ‘rainy’.
I hope that helps!
This helped immensely! Just needed it explained further for me to understand. Thanks!
@Aodh_Quigley “tomorrowWeather” Will not be included into this quiz.
i think it is going to rain to today