一道C++题目,急求解答!在线等!!!

日期:2018-11-22 09:07:25 人气:1

一道C++题目,急求解答!在线等!!!

#include#includeusing namespace std;main(){ char a[1000]; int i,max,l,n; while(1){ gets(a); max=0;l=0;n=0; if(a[0]==' ') l=0; else l=1; for(i=0;i<strlen(a);i++) if(a[i]==' '){
    A+
热门评论