UVA 494 - Kindergarten Counting Game UVA • Sep 1, 2020 Problem PDFSolution:#include int main() { int i,c,f; char a[1000]; while(gets(a)) { c=0; f=1; for(i=0;a[i];i++) { if((a[i]>='A'&&a[i]<='Z')||(a[i]>='a'&&a[i]<='z')) { if(f) c++; f=0; } else f=1; } printf("%d\n",c); } return 0; } https://github.com/Shipu/OnlineJudgeProblemSolutionWithCPlusPlus/tree/master/uva/494/494.cpp Tags UVA Competitive Programming Shipu Ahamed Recommended for you UVA UVA 913 - Joana and the Odd Numbers 4 years ago • 1 min read UVA UVA 871 - Counting Cells in a Blob 4 years ago • 3 min read UVA UVA 866 - Intersecting Line Segments 4 years ago • 3 min read