Joined
Last Seen
0 Reputation Points
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<iostd.h> int main() { int i,num; scanf("%d",&num); for(i=2;i<num;i++) { if(num%i==0){ c=1; } breck; } if(c==1)printf("number is prime"); else printf("not a prime number"); return 0; } |
The End.