文件名称: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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.