daily pastebin goal
11%
SHARE
TWEET

Untitled

a guest Jan 16th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2.  
  3. void main (){
  4.     int menu = 0;
  5.     int opcion = 0;
  6.     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};
  7.  
  8.    
  9.     printf("Escoje uno de los siguientes ejercicios:\n");
  10.     printf("1.- Calculo de la letra del DNI.\n");
  11.     printf("2.- La loteria.\n");
  12.     printf("3.- Dígito de control.\n");
  13.     printf("Opcion: ");
  14.     scanf("%d", &opcion);
  15.     system("cls");
  16.    
  17.     switch(menu){
  18.         case 0:
  19.             printf("~~~~~~ CALCULO DE LA LETRA DEL DNI ~~~~~~\n\n");
  20.             //
  21.             break;
  22.         case 1:
  23.             printf("~~~~~~ LA LOTERIA ~~~~~~\n\n");
  24.             break;
  25.         case 2:
  26.             printf("~~~~~~ DIGITO DE CONTROL ~~~~~~\n\n");
  27.             break;
  28.     }
  29. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top