#include <stdio.h>
#include <stdlib.h>
#include <time.h>

void main(void){

int i,j,rand(void);
float x,y;
srand((unsigned)time(NULL));


for(i=0;i<1000;i++)
{
x = 1/(rand()+1);
y = 1/(rand()+1);

if( x*x + y*y <= 1)
j=0;
j++;
}

printf("%d",j);

}

[0,1]の擬似乱数の組の(x,y)を1000個発生させて x^2 + y^2 <=1 ってなる組の数を求めたいです
教えてくらださい・・・・