0

write a function int max_of_four(int a, int b, int c, intd) which reads four arguments and returns the greatest of them

11th Dec 2020, 2:55 PM
Rahul
Rahul - avatar
2 odpowiedzi
0
Create a function that take two params, use a ternary to return the largest. then... Hint...a function can take a function as a param.
11th Dec 2020, 3:38 PM
rodwynnejones
rodwynnejones - avatar
0
Um, sort em?
11th Dec 2020, 3:43 PM
Akib
Akib - avatar