Then you could traverse the string and, for each character, increment the corresponding counter, probably using a chained conditional.
然后你遍历整个字符串,每个字母的个数都累加到对应的计数器里面,可能会用到分支条件判断。
Then you could traverse the string and, for each character, increment the corresponding counter, probably using a chained conditional.
然后你遍历整个字符串,每个字母的个数都累加到对应的计数器里面,可能会用到分支条件判断。
应用推荐