文件名称:4-3

  • 所属分类:
  • 编译器/词法分析
  • 资源属性:
  • [Text]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 126kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • s**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

对输入的一行字符分类统计

利用 while 循环和 else if 多分支结构编写一个程序。该程序用来统计输入的一行字符中大小写字母的个数、数字0~9的个数、空格个数及其它字符个数。-Separate statistics on the input line characters to write a program using a while loop else if multi-branch structure. The program for statistical input line character uppercase and lowercase letters the number of digits 0 to 9 the number, the number of spaces and the number of characters. For example: keyboard input: aldkfjQWEklj12 the FDA the FK*. The screen will be divided into four lines of display: English character is: 17 the Digit character is: 2 the Space character is: 2 Other character is: 1 [Tips] The input data for the line breaks when the end of the input data input requirements: character data output Requirements: The sample input and output sample respectively by upper and lower case letters, numbers, spaces and other characters in output of the survey results, see the output: Input Sample: 123* ABC $ abc the Output the Sample: English character is: 6 the Digit character is: the Space character is: 2 Other character is: 2
(系统自动生成,下载前可以参看下载内容)

下载文件列表

说明.txt

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org