/*************************************** ::::::::: ::: ::::::::::: :+: :+: :+: :+: :+: +:+ +:+ +:+ +:+ +:+ +#++:++#: +#++:++#++: +#+ +#+ +#+ +#+ +#+ +#+ #+# #+# #+# #+# #+# #+# ### ### ### ### ##### ***************************************/ #include int main(int argc, char *argv[]) { char wtf, messx, otherxx; printf (" \n \n PROBLEM RESOLUTION \n \n "); printf (" Is it working ? \n"); printf (" (y/n) ?\n \n"); scanf ("%c", &wtf); if (wtf == 'n') { printf (" Did you mess with it ? \n (y/n) ?\n"); goto mess; } else if (wtf == 'y') { printf ("Don't mess with it \n NO PROBLEM \n \n"); } /* did you mess with it */ mess: printf (" mess \n"); scanf ("%c \n", &wtf); if (wtf=='n') { printf ("will it blow up in your hand? \n (y/n?) \n"); goto otherx; } else if (wtf=='y') { printf ("you are screwed \n (y/n?) \n \n "); } /* LOOK THE OTHER WAY */ otherx: printf("\n"); scanf ("%c\n", &otherxx); if (otherxx == 'n') { printf("Look the other way \n"); printf("NO PROBLEM \n \n"); } }