You are viewing a single comment's thread. Return to all comments →
{ int numList[4] = {a, b, c, d}; int result = 0; for (int i = 0; i < 4; i++) { for (int j = 0; j < 4; j++) { if (numList[i] > numList[j] && numList[i] > result) { result = numList[i]; } else { continue; } } } return result; }
Seems like cookies are disabled on this browser, please enable them to open this website
Functions
You are viewing a single comment's thread. Return to all comments →