ES085 Sample Programs With Array
ES085 Sample Programs With Array
#include<stdio.h>
#include<conio.h>
int main()
int ctr=0;
//printing the entire contents of the array; loop is to be used to access each element
return 0;
PROBLEM 2
#include<stdio.h>
#include<conio.h>
int main()
{
if(num[ctr+1]>high) //start comparing element ctr+1m don't compare to your self
high=num[ctr+1];
return 0;
PROBLEM 3
#include<stdio.h>
#include<conio.h>
int main()
return 0;
PROBLEM 4
#include<stdio.h>
#include<conio.h>
int main()
sum+=num[ctr];
return 0;
}
PROBLEM 5
#include<stdio.h>
#include<conio.h>
int main()
scanf("%d", &Matrix[row][col]);
return 0;