文件名称:sdf1234
介绍说明--下载内容均来自于网络,请自行研究使用
编写一个C++递归程序求解下列问题:给定正整数n,确定n是否是它所有因子(不包括n)之和。
Input
正整数n
Output
若n是它所有因子之和,输出Yes,否则输出No
Sample Input
6
Sample Output
Yes-C++ write a recursive procedure for solving the following problem: Given a positive integer n, n determining whether all its factors (excluding n) sum. Input a positive integer n Output If n is it, all the factors of the output Yes, otherwise the output No Sample Input 6 Sample Output Yes
Input
正整数n
Output
若n是它所有因子之和,输出Yes,否则输出No
Sample Input
6
Sample Output
Yes-C++ write a recursive procedure for solving the following problem: Given a positive integer n, n determining whether all its factors (excluding n) sum. Input a positive integer n Output If n is it, all the factors of the output Yes, otherwise the output No Sample Input 6 Sample Output Yes
(系统自动生成,下载前可以参看下载内容)
下载文件列表
sdf1234
.......\Debug
.......\.....\sdf1234.exe
.......\.....\sdf1234.ilk
.......\.....\sdf1234.obj
.......\.....\sdf1234.pch
.......\.....\sdf1234.pdb
.......\.....\vc60.idb
.......\.....\vc60.pdb
.......\sdf1234.cpp
.......\sdf1234.dsp
.......\sdf1234.dsw
.......\sdf1234.ncb
.......\sdf1234.opt
.......\sdf1234.plg