settalkoff
clear
int h=0
int z=0
int s=0
int q=0
accept"请输入一行字符窜" to c
h=len(alltrim(c))
for i=1toh
cc=substr(c,i,1)
if cc>a && cc<z|| cc>A &&cc<Z z=z+1
endif if cc>0 &&cc<9
s=s+1
else
q=q+1
endif
?z,s,q
刚接触c 所以 不知道 咋用c写
settalkoff
clear
int h=0
int z=0
int s=0
int q=0
accept"请输入一行字符窜" to c
h=len(alltrim(c))
for i=1toh
cc=substr(c,i,1)
if cc>a && cc<z|| cc>A &&cc<Z z=z+1
endif if cc>0 &&cc<9
s=s+1
else
q=q+1
endif
?z,s,q