Subscribe to:
Post Comments (Atom)
Followers
About Me
- ..
- Dhaka, Dhaka, Bangladesh
- ..
Programming Sample Code, Source Code, Example Codes
If need to be any Kind of email Us cprogrammerbd@gmail.com.
#include stdio #include conio int main() { int i,j,n; printf("Enter Number Of Terms:"); scanf("%d",&n); printf("Prime Numbers Are Follwing "); for(i=2;i<=n;i++) { for(j=2;j<=i;j++) { if(i%j==0) break; } if(i==j) printf("%d",i); } return 0; } Any more about prime number
No comments:
Post a Comment