#include <stdlib.h>
#include <stdio.h>
#include <time.h>
void main()
{
int x ;
srand((unsigned)time(NULL));
for(x=0;x<=100;x++)
printf("%i\t",rand()%10 + 1);
}
© Copyright 2009
Bloggertory Blogger Template Designed by Graphic ZONe
Bloggerized by Free Blogger Templates
Programming for dummies
0 comments:
Post a Comment