Posted by: OcRam February 22, 2008
Login in to Rate this Post:
0
?
just a flow chart only, i don't know much abt specific language, but should work.
count=0
for i=1 to length of s
if s[i]="a" count++
end i
count is ur number of a