ok im tring to make this print a randem number from 0 to 52 but i want it print out a diffrent rand everything i re run the prog.. can someone tell me how to do this.
Code:
#include<stdio.h>
int main()
{
int x[52];
int round;
for(round = 0; round < 10; round++);
x[round] = (rand() % 51) + 1;
printf(" %d\n",x[round]);
return 0;
}