Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.7K
#include<stdio.h> #include<math.h> #include<conio.h> #include<time.h> #include<stdlib.h> #define LIMIT 100000000 //max value of n void main(){ double mypi,x,y ; int minus ; // 1 for pos., 2 for neg. long int m,n; time_t t; n = 0; m = 0; srand((unsigned) time(&t)); clrscr(); do{ n++; x = (rand()/(double)RAND_MAX); //pick a random X … |