#include int main() { int a,c,n,i,temp; int flag=0; int arr[10]; printf("Enter the number of elements you want in the array: "); scanf("%d",&n); printf("Enter the numbers you want in the array:\n"); for(i=0;iarr[c]) min=c; if(aarr[min]) max=c; } if(flag){ printf("The number has been found.\n"); }else{ printf("The number does not exist in this array.\n"); } return 0; }