#include<stdio.h>
int main (){
int arr[4]= {52,555,26,108};
int max = arr[0];
int min = arr[0];
for (int i = 0; i < 4; i++)
{
if (arr[i]> max)
{
max = arr[i];
} else if (arr[i]< min)
{
min = arr[i];
}
}
printf("%d is maximum number\n",max);
printf("%d is minimum number\n",min);
return 0;
}
52 is maximum number
26 is minimum number