Last list item: Difference between revisions
Content added Content deleted
Line 541: | Line 541: | ||
List = [6,81,243,14,25,49,123,69,11] |
List = [6,81,243,14,25,49,123,69,11] |
||
Temp = [] |
|||
n = 0 |
n = 0 |
||
x = min(List) |
|||
see "min = " + x +nl |
|||
while true |
while true |
||
n++ |
n++ |
||
List = sort(List) |
|||
first = |
first = List[1] |
||
second = |
second = List[2] |
||
ind1 = find(List,first) |
ind1 = find(List,first) |
||
ind2 = find(List,second) |
ind2 = find(List,second) |