文件名称:test2
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:146.52kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
老师让我们写个回文数的小程序,* 题目分析与算法设计
对于要判断的数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/Debug/test2.exe
test2/Debug/test2.ilk
test2/Debug/test2.pch
test2/Debug/test2.pdb
test2/Debug/vc60.idb
test2/Debug/vc60.pdb
test2/fan.c
test2/test2.dsp
test2/test2.dsw
test2/test2.ncb
test2/test2.opt
test2/test2.plg
test2/Debug
test2
test2/Debug/test2.exe
test2/Debug/test2.ilk
test2/Debug/test2.pch
test2/Debug/test2.pdb
test2/Debug/vc60.idb
test2/Debug/vc60.pdb
test2/fan.c
test2/test2.dsp
test2/test2.dsw
test2/test2.ncb
test2/test2.opt
test2/test2.plg
test2/Debug
test2
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.