#include<stdlib.h>#include<time.h>#include<stdio.h>main(){ int r;
srand((unsigned)time(NULL));
r=random(10); printf("%d\n" ,r); r=random(10); printf("%d\n" ,r);
getch();
}