trojanxem

Untitled

Aug 12th, 2012
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.83 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <conio.h>
  3. #include <time.h>
  4.  
  5.  
  6. int main()
  7. {
  8.     const char *litery_male[] = {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","r","s","t","u","w","y","z"};
  9.     int cyfry[] = {0,1,2,3,4,5,6,7,8,9};
  10.    
  11.    
  12.     int i = 0;
  13.     int j = 0;
  14.     for(i = 0; i < 10; i++)
  15.     {
  16.           dalej:;
  17.           printf("%s%d\n", litery_male[0+j],cyfry[i]);
  18.           if(*litery_male == "z")
  19.           printf("break\n");
  20.          
  21.          
  22.                              
  23.          
  24.           if(cyfry[i] == 9 )
  25.           {  
  26.           j++;  
  27.           i=0;          
  28.                                      
  29.                          goto dalej;
  30.          
  31.           }
  32.          
  33.           }
  34.          
  35.           getch();
  36.           return 0;
  37.          
  38.           }
Advertisement
Add Comment
Please, Sign In to add comment