Category Archives: General


1.check prime numbers source code #include #include void main() { int l,i,j,f,n; clrscr(); do { printf(“\n[1] to check prime number\n”); printf(“[2] to generate prime numbers upto a given number\n”); printf(“[3] to exit\nEnter yor choice\n”); scanf(“%d”,&l;); switch(l) { case 1: { printf(“enter a number\n”); scanf(“%d”,&n;); f=1; for(i=2;i 2.Matrix operation #include #include void input(int z); void multiply(void); […]