Guest User

Untitled

a guest
Jan 19th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.54 KB | None | 0 0
  1. #include <conio.h>
  2. #include <stdio.h>
  3. #include <windows.h>
  4. #include <stdlib.h>
  5. #include <time.h>
  6. main()
  7. {
  8.       char i, numero[6];
  9.       int meu_jogo [] = {34,33,35,36,23,37};
  10.       system("Color a");
  11.       srand(time(NULL));
  12.       printf ("\t\tPrograma da MEGA SENA");
  13.       printf ("\n\n");
  14.       for (i=1;i<=6;i++)
  15.       {
  16.       numero[i]=rand()%61;
  17.       printf ("%d \a",numero[i]);
  18.       }
  19.      
  20.      
  21.      
  22.       printf ("\n\n.................Sistema desenvolvido por John Lenon..................");
  23.       getch();
  24. }
Add Comment
Please, Sign In to add comment