Write a C program to print all prime no.(1-100).
#include<stdio.h> #include<conio.h> main() { int i,j,n; printf("\n The prime numbers are(1-100)"); for(i=2;i<=100;i++) { for(j=1;j<=i;j++) { if(i%j==0) n++; } if(n==2) printf(" %d",i); n=0; } getch(); }
Output:
Write a C program to calculate the following sum:
Sum = 1-x^2/2!+x^4/4!-x^6/6!+x^8/8!-x^10/10!
Write a C- Program To Count The Lines, Words, Characters In A Given Text.
Explain left factoring with suitable example.
Difference between ISO and CMM standards.
What do you mean by software crisis & its solution.
Write a short note on Asymptotic Notations.