SHARE
TWEET

Untitled

a guest Jun 18th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bool bandera=true;
  2. int a[];
  3.  
  4.  while (bandera) {
  5.  
  6.       srand(time(NULL));
  7.       for (int i = 0; i <=4; i++) {
  8.         a[i] = rand() % 4 + 1;
  9.       }
  10.         switch (a) {
  11.         case 1:
  12.           printf("Rojon");
  13.           sleep(3);
  14.           break;
  15.         case 2:
  16.           printf("Verden");
  17.           sleep(3);
  18.           break;
  19.         case 3:
  20.           printf("Azuln");
  21.           sleep(3);
  22.           break;
  23.         case 4:
  24.           printf("Naranjan");
  25.           sleep(3);
  26.           break;
  27.  
  28.       }
  29.  
  30.  
  31.     }
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