Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- void main (){
- int menu = 0;
- int opcion = 0;
- char arr[] = {T,R,W,A,G,M,Y,F,P,D,X,B,N,J,Z,S,Q,V,H,L,C,K,E};
- printf("Escoje uno de los siguientes ejercicios:\n");
- printf("1.- Calculo de la letra del DNI.\n");
- printf("2.- La loteria.\n");
- printf("3.- DÃgito de control.\n");
- printf("Opcion: ");
- scanf("%d", &opcion);
- system("cls");
- switch(menu){
- case 0:
- printf("~~~~~~ CALCULO DE LA LETRA DEL DNI ~~~~~~\n\n");
- //
- break;
- case 1:
- printf("~~~~~~ LA LOTERIA ~~~~~~\n\n");
- break;
- case 2:
- printf("~~~~~~ DIGITO DE CONTROL ~~~~~~\n\n");
- break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement