Category: A ll Codes

11
Apr
2017

2d array codes

  Code: #include<stdio.h> int main(){ int arr[10][10],i,j,m,n; //Read order printf(“enter order of matrix:\n”); scanf(“%d %d”,&m,&n); //read matrix…

11
Apr
2017

2d array codes

  Code: #include<stdio.h> int main(){ int arr[10][10],i,j,m,n; //Read order printf(“enter order of matrix:\n”); scanf(“%d %d”,&m,&n); //read matrix…

11
Apr
2017

2d array codes

  Code: #include<stdio.h> int main(){ int arr[10][10],i,j,m,n; //Read order printf(“enter order of matrix:\n”); scanf(“%d %d”,&m,&n); //read matrix…

09
Apr
2017

Prime Show

Best Prime Example Is Availble in my another post. Kindly check. http://zakilive.com/2017/05/12/check-the-number-is-prime-or-not-in-c-easy-and-details-explanation/ problem: Write a program to…

08
Apr
2017

Fibonacci in C(easy code logic)

code: #include <stdio.h> #include <stdlib.h> int main() { int first=0,second=1,N,temp; printf(“Put value greater than 1: “); scanf(“%d”,&N);…

08
Apr
2017

Continue and Break

code 1: #include<stdio.h> int main(){ int i; for(i=10;i<20;i++) { if(i%2==0) continue; if(i>16) break; printf(“%d\n”,i); } return 0;…