Skip to content

Instantly share code, notes, and snippets.

@lgolubyev
Created May 24, 2022 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lgolubyev/1ea2591c2494f1c5b60daa75490fc05c to your computer and use it in GitHub Desktop.
Save lgolubyev/1ea2591c2494f1c5b60daa75490fc05c to your computer and use it in GitHub Desktop.
if (condition 1)
{
if (condition 2)
{
// executed if conditions 1 & 2 are true
}
else
{
// executed if condition 1 is true & condition 2 is false
}
}
else
{
if (condition 3)
{
// executed if condition 1 is false & condition 3 is true
}
else
{
// executed if condition 1 is false & condition 3 is false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment