Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
1 Commented Post
0 Endorsements
Ranked #107.55K
~2K People Reached
Favorite Forums
Favorite Tags
c++ x 1

1 Posted Topic

Member Avatar for djbsabkcb

#include<iostream> using namespace std; void main() { int i,j; for(i=2;i<=100;) { if(i==2) { cout<<i; cout<<"\n"; goto p; } for(j=2;j<i;) { if((i%j)==0) { goto p; } j++; } cout<<i; cout<<"\n"; p: i++; } getchar(); }

Member Avatar for duskoKoscica
-2
2K

The End.