【发布时间】:2018-04-03 14:55:15
【问题描述】:
除了 0,如何求最小值。数组中的数字:
myMethod()
{
for (i - 0 to i - length)
{
int currentMin = value_at_first_Index;
if(currentMin > value_at_first_Index)
currentMin = value_at_first_Index;
}
return currentMin;
}
【问题讨论】: