1.
if (cloudy) printf("It's not sunny :-(");
- Correct
printf("It's not sunny :-(") if (cloudy);
- Not quite - try again!
if (cloudy) printf("It's not sunny :-(")
- Not quite - try again!
if cloudy printf("It's not sunny :-(");
- Not quite - try again!
Which of the following shows the correct syntax for an
if
statement?Hint.
Review the video if you are stumped.