#include(stdio.h) #include(conio.h) #include(stdlib.h) main() { clrscr(); int i,j,k,z[100]; for (i=0;i<100;i=i+1) z[i]=rand()%100; for (i=0;i<100;i=i+1) if(z[i]<50) j=j+1; else k=k+1; printf("%d\\n",j,k); getch(); return 0; } This program should divide the number 100 into two sections ... i.e. to 0 <50 and 50 <100, from each site take a random number and display them on the screen. But instead, it gives out some kind of silly numbers. Tell me, please, where is my mistake or what have I done wrong?