-
-
Save RhoKratos/ef9ed05c274444b6fde9caadcd30baad to your computer and use it in GitHub Desktop.
Menuú
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
int op; | |
printf("\n1-.Comer\n2-.Pagar\n3-.Tomar\n4-.Correr\n"); | |
scanf("%d", &op); | |
switch (op) | |
{ | |
case 1 : | |
printf("\nPues come"); | |
menu(); | |
break; | |
case 2 : | |
printf("\nPues paga"); | |
menu(); | |
break; | |
case 3 : | |
printf("\nPues toma"); | |
menu(); | |
break; | |
case 4: | |
break; | |
default: | |
printf("\nEscriba otra opcion\n"); | |
menu(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment