You are viewing a single comment's thread. Return to all comments →
Here are my simple code:
int max_of_four(int a, int b, int c, int d) { int aux = 0; int arr[4] = {a, b, c, d}; for (int i = 0; i <= 4; i++) { if (arr[i] > aux) { aux = arr[i]; } } return aux; }
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 →
Here are my simple code: