int highNum = 0; int m; int list[4] = {10, 4, 7, 8}; for (m = 0 ; m < size ; m++); { if (list[m] > highNum) highNum = list[m];
You have a semicolon after your for statement:
for
for (m = 0 ; m < size ; m++); {
This should be:
for (m = 0 ; m < size ; m++) {