ShriRam Changed status to publish July 15, 2022
#include<stdio.h>
#include<conio.h>
void main()
{
int a[10],i,min=32767,max=0;
printf ("Enter 10 Numbers : \n");
for (i=0;i<10;i++) { scanf("%d",&a[i]); if(a[i]>max)
max=(a[i]);
if(a[i]<min)
min=(a[i]);
}
printf ("Max is %d and Min is %d",max,min);
getch();
}
ShriRam Changed status to publish July 15, 2022