文件名称:4-2
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:123.78kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
统计一行中字符的个数
通过getchar()读取字符,当读入的字符是换行符时循环结束。
输入要求:字符型数据
输出数据格式要求: d
输入输出样例:
Input Sample:
I m Chinese!
Output Sample:
12 -The number of characters in the statistics line by getchar () reads characters read into the character is a newline end of the cycle. Input Requirements: character data, output data format: d input output sample: Input Sample: I' m Chinese! Output Sample: 12
通过getchar()读取字符,当读入的字符是换行符时循环结束。
输入要求:字符型数据
输出数据格式要求: d
输入输出样例:
Input Sample:
I m Chinese!
Output Sample:
12 -The number of characters in the statistics line by getchar () reads characters read into the character is a newline end of the cycle. Input Requirements: character data, output data format: d input output sample: Input Sample: I' m Chinese! Output Sample: 12
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
