#include <stdio.h>
#include <stdlib.h>
int main() {
int a[10] = { 11,23,43,54,25,16,47,58,96,10 }, i=0,
b=a[0];
while(i<=9) {
if (b < a[i])
b = a[i];
i++;
}
printf("%d\n",b);
system("pause");
return 0;
}
#include <stdio.h>
#include <stdlib.h>
int main() {
int a[10] = { 11,23,43,54,25,16,47,58,96,10 }, i=0,
b=a[0];
while(i<=9) {
if (b < a[i])
b = a[i];
i++;
}
printf("%d\n",b);
system("pause");
return 0;
}