双向冒泡 鸽了好久…… (强哥的作业直接改了一下copy的) 题目要求 一次循环结束后同时排序最大和最小的数。 代码 #include <stdio.h> #include <stdlib.h> int main() { int i,j,k,a[10]={ 10,9,8,7,6,5