ı was doing my homework. ı did the first part but ı couldnt pass to second part can somebody help me ?
also is it possible to write it in c language ? http://i.hizliresim.com/nmDWXB.jpg
Did the prof give tell you how to find the circles? That's the hard part. If not, then THINK about how you will solve it. Try to describe the solution in English first, then translate it to code.
You can generate random numbers from -100 to 100 with rand()%200 - 100;
You should probably store the cordinates as doubles since you'll be doing a bunch of math with them.