a player can bet six numbers between 1-40.
If he gets all the six numbers correct he win the JACKPOT!!
Here are some of my codes but what additional code should i need??
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
int main(void){
int nums[6];
int j;
srand(time(0));
for(j=0;j<6;j++)
nums[j]=(rand()%40)+1;
return 0;
}


Sign In
Create Account

Back to top









