海涛老师的面试题-作业12-打印从1到最大的n位数
摘要:
View Code 1 // 打印从1到最大的n位数.cpp : 定义控制台应用程序的入口点。 2 // 3 4 /******************************************** 5 6 题目:输入数字n,按顺序打印从1到最大的n位十进制数, 7 比如3,则打印1,2,3,一直到999; 8 9 ********************************************/ 10 11 #include "stdafx.h" 12 #include <string.h> 13 #include <iostream> 阅读全文
posted @ 2012-06-27 20:01 北冥茶花开 阅读(132) 评论(0) 推荐(0) 编辑