#include <stdio.h>#define n 10 int main() { int max=0; int a[n] = {12,15,16,546,165,654,612,23,48,84}; for (int i = 0; i < 10; i++) { if (a[i] >= max) max = a[i]; } printf("%d", max); return 0; }