2、<<"";cout<usingnamespacestd;intmain(){intaa,i,n=0,j,max=1,s=0;inta[20];cout<<"输入圆环数据:";cin>>aa;while(aa!=-1){a[n++]=aa;cin>>aa;}for(i=0;i3、s>max){max=s;j=i;}}cout<<"输出圆环数据:";for(i=0;iusingnamespacestd;intmain(){inta[2][3]={{1,2,3},{4,5,6}};inti,j,b[3][2];cout<<"原始矩阵:"<<
4、endl;for(i=0;i<2;i++){for(j=0;j<3;j++)cout<<""<5、iostream>usingnamespacestd;intmain(){chars[80];inti=0,sp=0,oth=0,lett=0;intdig[10]={0};cout<<"输入字符串:"<