第七章例7-13
2013-10-03 18:38
120 查看
![](http://images.cnitblog.com/blog/571407/201310/03183726-f3964816c6f348628cb070a2498ad43d.png)
#include<stdio.h> int main(void) { int count,i; char str[80]; printf("Enter a string:"); i=0; while((str[i]=getchar())!='\n') i++; str[i]='\0'; count=0; for(i=0;str[i]!='\0';i++) if(str[i]<='9'&&str[i]>='0') count++; printf("count=%d\n",count); return 0; }
相关文章推荐
- 第七章例7-13
- 第七章 个人优化vim第四步:插件集合spf13安装与使用教程
- 第七章13
- 第七章例7-13
- 第七章 13_泛型_1
- How to think like a Computer Scientist: 课后习题第七章 11-13
- 《Windows游戏编程大师技巧》第七章 Deom 13
- DBA1 第七章:管理方案对象
- SCOM 2012知识分享-13:搜索功能
- 学习进度13
- Javascript高级程序设计第七章知识点总结
- 13、XSI,信号量简介
- 超短代码俄罗斯方块v13
- Hard-题目13:72. Edit Distance
- C#编程入门13_String类及常用的工具类
- 新概念英语 Lesson 13
- unity3D游戏开发实战原创视频讲座系列13之帽子戏法游戏开发(预告)
- 13、python网络编程练习(一)
- 10.19骰子游戏c语言和13与11倍数,和316程序与猜金花
- ATEN—第七章DSL技术