统计单词数
摘要:
#include <stdio.h>int main(){ int word,num=0; char ch; printf("input your text:\n"); while((ch=getchar())!='\n') if(ch==' ') word=0; else if(word==0){ 阅读全文
posted @ 2019-03-21 23:43 p201821430005 阅读(128) 评论(0) 推荐(0) 编辑