Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <conio.h>
- #include <stdio.h>
- #include <windows.h>
- #include <stdlib.h>
- #include <time.h>
- main()
- {
- char i, numero[6];
- int meu_jogo [] = {34,33,35,36,23,37};
- system("Color a");
- srand(time(NULL));
- printf ("\t\tPrograma da MEGA SENA");
- printf ("\n\n");
- for (i=1;i<=6;i++)
- {
- numero[i]=rand()%61;
- printf ("%d \a",numero[i]);
- }
- printf ("\n\n.................Sistema desenvolvido por John Lenon..................");
- getch();
- }
Add Comment
Please, Sign In to add comment