Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c if statement

if(raining == 0 || (windSpeed > 15 && temperature < 10))// ** missing if statement **
  {
    printf("Stay indoors.
");
  }
  else
  {
    printf("You can go outside.
");
  }
  return 0;
}
Source by learn.sun.ac.za #
 
PREVIOUS NEXT
Tagged: #statement
ADD COMMENT
Topic
Name
8+6 =