循环活动图
2018-04-19 16:51:41 22 举报
循环活动图
作者其他创作
大纲/内容
i 10
! num[i] max
! num[i] min
cin num[i] max = num[i] min = num[i] max_i = min_i = i
temp = num[max_i]num[max_i] = num[9]num[9] = temp
num[i] min
max = num[i]\t\tmax_i = i
\tmin = num[i]min_i = i
num[i] max
cin num[i]
++ i
temp = num[min_i]num[min_i] = num[1]num[1] = temp
i = 10
i = 1
0 条评论
下一页