Array (Demo)

A[i] = x= rand()


Click on any cell ... on Change: -1 0/1 +1

Applications: (1) Mark VI (2) Prime (3) Draw Lots (4) Playing Cards (5) Number to digits

int A[50]={0};

for(i=0;i<6;i++){
	n = rand()%49+1;
	A[n]=1;
}