Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
202 B
2
Indexable
Never
 Min = number[0];
       Max = number[0];
       for (i = 1; i < n; i++) {
         if (number[i] < Min)
               Min = a[i];
         if (number[i] > Max)
               Max = number[i];
       }