Skip to content

Instantly share code, notes, and snippets.

@novakboskov
Created September 12, 2017 08:58
Show Gist options
  • Save novakboskov/33c7fc3c601a702b69ee3ac5cb79892f to your computer and use it in GitHub Desktop.
Save novakboskov/33c7fc3c601a702b69ee3ac5cb79892f to your computer and use it in GitHub Desktop.
int a = 1;
if (a == 1) {
puts("It's one\n");
} else if (a == 2) {
puts("It's not\n");
} else {
puts("C'mon, its much greater\n");
}
if (a == 1) {
puts("It's one\n");
} else {
if (a == 2) {
puts("It's not\n");
} else {
puts("C'mon, its much greater\n");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment