Joined
Last Seen
-4 Reputation Points
- 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
0 Endorsements
Ranked #107.55K
1 Posted Topic
Re: #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(); } |
The End.