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 find both the largest and smallest number in list of integers.
Write a C-Program That Uses Functions To Insert A Sub-String In To A Given Main String From A Given Position.
Discuss the ACID properties of transaction.
Define Quality Planning
Describe structured analysis and structured design.