Skip to content

Instantly share code, notes, and snippets.

@WPDC
Last active December 15, 2015 15:44
Show Gist options
  • Save WPDC/b2b18a249f0c1cdd44aa to your computer and use it in GitHub Desktop.
Save WPDC/b2b18a249f0c1cdd44aa to your computer and use it in GitHub Desktop.
if ( weatherIsSunny && ! weatherIsRaining && ! isWorking ) {
printf( "Going to the festival" );
} else if ( movieIsPlaying ) {
printf( "Going to the movies" );
} else {
printf( "Staying home" );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment