搜索资源列表
SumOfDigits
- 任意输入一个整数,程序将计算整数中每一位数相加的结果,并打印结果-Indiscriminate importation of an integer, the program will calculate the sum of integers each digit of the results and print the results
magic-square-of-order-n
- 所谓“魔方阵”是指满足的每一行、每一列和对角线上的元素之和均相等的方阵,用二维数组实现“魔方阵”的打印,任意输入一个自然数n,打印出相应的n阶魔方阵来-The so-called " magic square" is to meet each row, each column and diagonal elements are equal to the sum of the square, with two-dimensional array to achieve the &q
series_func
- printing series function, calcutaling the sum of series function, find perfect square.