文件名称:shuixian
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.24kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
题目:打印出所有的“水仙花数”,所谓“水仙花数”是指一个三位数,其各位数字立方和等于该 数本身。例如:153是一个“水仙花数”,因为153=1的三次方+5的三次方+3的三次方。
分析:利用for循环控制100-999个数,每个数分解出个位,十位,百位。*/-Topic: print out all of the Narcissus few , the so-called Narcissus few refers to a three-digit, its Members and equal to the number of cubic number itself. For example: 153 is a few daffodils, because 153 = 1 cubic 3 to 5 of the three the three parties. Analysis: use for cycle control the number of 100-999, each decomposition of a single-digit number, 10, 100.* /
分析:利用for循环控制100-999个数,每个数分解出个位,十位,百位。*/-Topic: print out all of the Narcissus few , the so-called Narcissus few refers to a three-digit, its Members and equal to the number of cubic number itself. For example: 153 is a few daffodils, because 153 = 1 cubic 3 to 5 of the three the three parties. Analysis: use for cycle control the number of 100-999, each decomposition of a single-digit number, 10, 100.* /
(系统自动生成,下载前可以参看下载内容)
下载文件列表
水仙花数.cpp
1234组成3位无重复数.cpp
1234组成3位无重复数.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.