Category: Array

12
Apr
2017

integer odd even

problem: (courtesy:101cproblems.com) Take an array of integer data type of size 5. Scan the values from the…

12
Apr
2017

Array Value Average

Take an array of integer data type of size 5. Scan the values from the user. Now…

11
Apr
2017

Find maximum and minimum value in an array

for maximum: #include<stdio.h> int main() { int ary[7]={-99,45,100,37,89,-327,245}; int i,max=0; for(i=0;i<7;i++) { if(ary[i]>max) { max=ary[i]; } }…

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…