00:01
In this question here, we have considered an array of integers.
00:04
So, here we have write a program of c++.
00:08
So, here consider array, consider array is 15, 8, 2, 20, 3.
00:28
So, here procedure selection short, selection short array, n.
00:49
N is equals to array which item is to be shorted, which item is to be shorted.
01:09
Here n is equals to size of array.
01:20
Begin set min underscore num means minimum number is equals to 0.
01:35
For i equals to 0 to n minus 1.
01:44
Begin, begin set min num is equals to i.
01:55
For j equals to i plus 1 to n.
02:06
Begin, if array, if j is less than a minimum, minimum number, then min num is equals to j.
02:35
End, ends if and for...