怎么用java编写程序很简单,用个这个冒泡法publicclassshuzu{publicstaticvoidmain(Stringargs[]){inta,b,c,d;intsize=10;intsj[]={2,32,0,23,76,356,1,35,299,79};for(a=0;a<10;a++){System.out.println(sj[a]);}for(b=1;b=b;c--){if(sj[c-1]>sj[c])d=sj[c-1];sj[c-1]=sj[c];sj[c]=d;}...
更新时间:2023-06-05标签: 怎么写程序a怎么写程序程序 全文阅读