We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- C++
- Introduction
- Functions
- Discussions
Functions
Functions
Sort by
recency
|
1992 Discussions
|
Please Login in order to post a comment
int max_of_four(int a, int b, int c, int d){ return ((a>b && a>c && a>d) ? a : ((b>c && b>d)? b : ((c>d)?c :d)) ); }