C primer plus 第六版第七章编程练习参考答案

6.编写程序输入,读到#中止,报告ei出现的次数。web #include <stdio.h> #define STOP '#' int main() { int count=0; char ch,ch1; while ((ch=getchar()) !=STOP) { if (ch=='e') { ch1=ch; continue; } if (ch1=='e
相关文章
相关标签/搜索