Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #72.8K
~711 People Reached
Favorite Forums
Favorite Tags
c x 1
c++ x 1

2 Posted Topics

Member Avatar for galmca

#include <iostream.h> #include <conio.h> void main(void) { clrscr(); int i,p; for(i=1;i<=300;i=i+1) { for(p=2;p<i;p=p+1) { if(i%p==0) break; else continue; } if(i==p) cout<<" Prime:"<<p; } getch(); }

Member Avatar for ramesh thota
0
469
Member Avatar for Stony

#include <iostream.h> #include <conio.h> void main(void) { clrscr(); int i,p; for(i=1;i<=300;i=i+1) { for(p=2;p<i;p=p+1) { if(i%p==0) break; else continue; } if(i==p) cout<<" Prime:"<<p; } getch(); }

Member Avatar for dusktreader
0
242

The End.