Did they mean to write tomorrowWeather in the 2nd if statement?
This question is confusing and appears incomplete as written.
1 Like
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!
1 Like
This helped immensely! Just needed it explained further for me to understand. Thanks!
i think it is going to rain to today