0

C++ arry?

How I can find the max and min value in arry without loop ?

4th Jul 2020, 5:41 PM
Saber Ahmadzai
Saber Ahmadzai - avatar
4 Respostas
+ 5
Saber Ahmadzai First sort the array in ascending order then find first and last value which will be min and Max value
4th Jul 2020, 5:44 PM
A͢J
A͢J - avatar
+ 1
AJ Anant - C#/Java Challenger Thank you so much 👍
4th Jul 2020, 6:10 PM
Saber Ahmadzai
Saber Ahmadzai - avatar
0
AJ Anant - C#/Java Challenger can you show me in coding?
4th Jul 2020, 5:50 PM
Saber Ahmadzai
Saber Ahmadzai - avatar