max of four numbers in c++ using function | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

max of four numbers in c++ using function

hackerrank probleme

25th Apr 2020, 8:21 AM
Aastha Pal
Aastha Pal - avatar
2 Answers
+ 1
Plz describe your problem better.
25th Apr 2020, 10:23 AM
Emre İRİŞ
Emre İRİŞ - avatar
+ 1
Define a function that returns: max(max(a, b), max(c, d)); You might need to include the algorithm header, but I've seen it work without it.
25th Apr 2020, 10:59 AM
rodwynnejones
rodwynnejones - avatar