Pagini recente » Monitorul de evaluare | Statistici Romanescu Stefan George (AlucardSama04) | Istoria paginii utilizator/grozavasea.tm | Rating Babiuc Ioan Alexandru (IanAlexander) | Cod sursa (job #215843)
Cod sursa(job #215843)
var
s,s1: string;
lcuv,stot,ct,nrcuv,ok,i,j,ok1: integer;
f,g: text;
pr,fin: boolean;
begin
assign(f,'text.in');
reset(f);
assign(g,'text.out');
rewrite(g);
readln(f,s);
close(f);
ct:=1; lcuv:=0;
while ct<>length(s) do
begin
if ((s1[ct]<='z') and (s1[ct]>='a')) or ((s1[ct]<='Z') and (s1[ct]>='A'))
then begin
inc(lcuv);
inc(stot);
end;
lcuv:=0;
inc(ct);
end;
write(g,trunc(stot));
close(g);
end.