Cod sursa(job #693956)
Utilizator | Data | 27 februarie 2012 17:50:30 | |
---|---|---|---|
Problema | Text | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include<iostream.h>
#include<string.h>
#include<fstream.h>
int main()
{ifstream f("atestat.in");
char s;int c=0,i;
f>>s;
for(i=0;i<100;i++)
{if(s>='a'&&s<='z'&&s>='A'&&s<='Z'&&" ")
c++;
}
cout<<c;
}