#include <stdio.h> #include <string.h> void main(void){ int tonyMontana=0; char* get="First"; char* then=", then"; printf("%s",get); while (!strcmp(get,"women\n")==0){ switch (tonyMontana){ case 1: get="power"; printf("%s", then); break; case 2: get="women\n"; printf("%s", then); break; default : get="money"; break; } tonyMontana++; printf (" you get the %s",get); } } |
Home > Programming > Scarface as Code
Scarface as Code