I tried to make a program that determined maximum and minimum by combining two programs made previously. The number of loops is set to 100 times.
[Download] Program to find the maximum and minimum (Created in NXT software 2.0)
The determination of the minimum and maximum values is the same as the methods mentioned above. It has set 99 in the value of the minimum and the maximum value is set 0.