Loading...
Is this your company?
write a program prime number or not
Anonymous
void main() { int n,m=n/2,flag=0; for(i=2;i<=m;i++) { if(n%i==0) flag=1; } if(flag==0) printf("prime number"); else printf("not a prime number"); }
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalised job recommendations and updates by starting your searches.
Get actionable career advice tailored to you by joining more bowls.
Check out your Company Bowl for anonymous work chats.