开发一个Windows应用程序,要求用户输入字符串并在给定的文本中显示"s"字符的总数.例如:special-> 1个 [英] Develop a windows application that ask user to enter a string and display the total count of‘s’ character in the given text. For example: special -> 1

查看:95
本文介绍了开发一个Windows应用程序,要求用户输入字符串并在给定的文本中显示"s"字符的总数.例如:special-> 1个的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

开发一个Windows应用程序,要求用户输入字符串并在给定的文本中显示"s"字符的总数.
例如:special-> 1
阳光-> 2
系统资源-> 4

Develop a windows application that ask user to enter a string and display the total count of‘s’ character in the given text.
For example: special -> 1
Sunshine->2
System resources->4

推荐答案

在Google上搜索相同的问题,您将获得完美的答案....
只需尝试字符串lenth

使用
如果----那么

否则---那么

如果
Search on google same question you will get answer''s perfectly ....
simply try string lenth
and
use
if ---- then

else if --- then

end if


这篇关于开发一个Windows应用程序,要求用户输入字符串并在给定的文本中显示"s"字符的总数.例如:special-> 1个的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆