文件名称:test2
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 147kb
- 下载次数:
- 0次
- 提 供 者:
- a**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
老师让我们写个回文数的小程序,* 题目分析与算法设计
对于要判断的数n,计算出其平方后(存于a),将a的每一位进行分解,再按a的从低到高的顺序将其恢复成一个数
k(如n=13,则a=169且k=961),若a等于k则可判定n为回文数。-Let the teacher write a palindromic number of small programs,* the subject analysis and algorithm design is to determine the number of n, calculate its square later (stored in a), will be a break down of each one, and then a from the low to high order to restore it into a number k (eg n = 13, then a = 169 and k = 961), if a is equal to k can be found n the number of the palindrome.
对于要判断的数n,计算出其平方后(存于a),将a的每一位进行分解,再按a的从低到高的顺序将其恢复成一个数
k(如n=13,则a=169且k=961),若a等于k则可判定n为回文数。-Let the teacher write a palindromic number of small programs,* the subject analysis and algorithm design is to determine the number of n, calculate its square later (stored in a), will be a break down of each one, and then a from the low to high order to restore it into a number k (eg n = 13, then a = 169 and k = 961), if a is equal to k can be found n the number of the palindrome.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
test2\Debug\fan.obj
.....\.....\test2.exe
.....\.....\test2.ilk
.....\.....\test2.pch
.....\.....\test2.pdb
.....\.....\vc60.idb
.....\.....\vc60.pdb
.....\fan.c
.....\test2.dsp
.....\test2.dsw
.....\test2.ncb
.....\test2.opt
.....\test2.plg
.....\Debug
test2
.....\.....\test2.exe
.....\.....\test2.ilk
.....\.....\test2.pch
.....\.....\test2.pdb
.....\.....\vc60.idb
.....\.....\vc60.pdb
.....\fan.c
.....\test2.dsp
.....\test2.dsw
.....\test2.ncb
.....\test2.opt
.....\test2.plg
.....\Debug
test2