
数字管理
文章平均质量分 70
wwttqq85538649
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
统计数字1~n中各位数的个数
// countnum.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include "iostream "#include "math.h"using namespace std; int main(){ int totalNumber,digitalCount[10]={0},destinationNum,countNum,switchNum;原创 2009-10-11 17:08:00 · 828 阅读 · 0 评论 -
计算整数幂
// power.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include "iostream"using namespace std;//计算整数幂int Power(int x,int n){ int y; if(n == 0) y = 1; else原创 2009-10-21 22:55:00 · 463 阅读 · 0 评论