You are viewing a single comment's thread. Return to all comments →
int max_of_four(int a, int b, int c, int d){ int max = a > b ? a : b; if(c > max) max = c; return d > max ? d : max; }`
Seems like cookies are disabled on this browser, please enable them to open this website
An unexpected error occurred. Please try reloading the page. If problem persists, please contact support@hackerrank.com
Functions
You are viewing a single comment's thread. Return to all comments →