Posts
 
Reputation
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
1 Commented Post
0 Endorsements
Ranked #107.55K
~3K People Reached
Favorite Forums
Favorite Tags
c x 1

1 Posted Topic

Member Avatar for john_hasan

#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; }

Member Avatar for aizam76
-1
3K

The End.