训练时发现的好题目。#include#includeintmain(){charch;charstr[100];while(gets(str)){if(str[0]=='E')return0;intz=0,o=0,j=0,i=0;while(str[i]!='\0'){switch(str[i]){case'Z':z++;break;case'O':