You are viewing a single comment's thread. Return to all comments →
For fun I tried something like this. Came up with:
int max_of_four(int a, int b, int c, int d) { return a>b?a>c?a>d?a:d:c>d?c:d:b>c?b>d?b:d:c>d?c:d; }
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 →
For fun I tried something like this. Came up with: