What us the formula to fetch the smallest and biggest number in an integer type array ? Suppose the array is {7, 5, 2, 4, 3, 9} .
Hi,
Hope the following helps you.
arr = {7, 5, 2, 4, 3, 9}
max = arr.Max
min = arr.Min
Regards,
2 Likes
Yes. Thank you.
Thank you.
Can you tell me if I want to see the index of the smallest and biggest number in an int array, what will the formula ?
1 Like
Thanks