You are viewing a single comment's thread. Return to all comments →
/* easily readable */ int max_of_four() { int x=0; int y=0;
for(int i=0;i<4;i++) { cin >> x; if(x>y) y=x; } return y;
}
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 →
/* easily readable */ int max_of_four() { int x=0; int y=0;
}