文件名称:5
介绍说明--下载内容均来自于网络,请自行研究使用
1、一个判素数的函数,在主函数输入一个整数,输出是否为素数的信息。
2、输出杨辉三角前十行
3、十十五个数由大到小的顺序存放在一个数组,输入一个数,折半法找出该数是数组中的第几个,若不在,输出“无此数”
4、输出所有水仙花数(各位数字立方和等于本身)
5输出100以内的完数(一个数等于其因子之和)
-1, a function of the number of sub-prime, an integer in the main function of the input, the output is a prime number information. 2, the output of Pascal' s Triangle 3 top ten rows, ten fifteen descending order of the number stored in an array, enter a number, binary method to find the number of the array in the first few, if not the, output " no This number " 4, the output of all daffodils (you figure cubic equal to itself) 5 Outputs finished within 100 (a number equal to the sum of its factors)
2、输出杨辉三角前十行
3、十十五个数由大到小的顺序存放在一个数组,输入一个数,折半法找出该数是数组中的第几个,若不在,输出“无此数”
4、输出所有水仙花数(各位数字立方和等于本身)
5输出100以内的完数(一个数等于其因子之和)
-1, a function of the number of sub-prime, an integer in the main function of the input, the output is a prime number information. 2, the output of Pascal' s Triangle 3 top ten rows, ten fifteen descending order of the number stored in an array, enter a number, binary method to find the number of the array in the first few, if not the, output " no This number " 4, the output of all daffodils (you figure cubic equal to itself) 5 Outputs finished within 100 (a number equal to the sum of its factors)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
2.c
3.c
4.c
5.c
1.c