Skip to content

Instantly share code, notes, and snippets.

@hajipy
Created October 14, 2011 15:25
Show Gist options
  • Save hajipy/1287424 to your computer and use it in GitHub Desktop.
Save hajipy/1287424 to your computer and use it in GitHub Desktop.
int kotoko() {
if (hoge) {
if (fuga) {
if (piyo) {
if (is18years_old) {
hiwai();
}
else {
kimoi();
}
}
else {
hiwai();
}
}
else {
hiwai();
}
}
int judge() {
if (hoge) {
if (fuga) {
if (piyo) {
if (is18years_old) {
return 1
}
else {
return 0;
}
}
else {
rerurn 1;
}
}
else {
return 1;
}
}
int kotoko2() {
if (judge()) {
hiwai();
}
else {
kimoi();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment