Assignment2
2015-11-11 21:27:04 1 举报
Flowchart.png
作者其他创作
大纲/内容
Yes
No
input n
in
BubbleSort
initialize i=0
end
data[j]data[j+1]
input data[i]
flag=false
i++
start
output The sort result:
value of data[j] and data[j+1] exchange
ouput data[i]
initialize i=1
initialize j=0
j++
if (flag)
jn-i
output How many numbers you want to input ? (less than 100)
bool flag=true
ouput ----------------------------
ouput The i round
0 条评论
下一页