sivek/energyglobalapp
最新稳定版本:1.0
Composer 安装命令:
composer require sivek/energyglobalapp
包简介
this is a energy global test case library
README 文档
README
PHP developer test case.
A Simple form with three input boxes that asks user for input if the want to calculate divisors, factorial and primenumbers
Solution contains following public functions:
calcDivisors calcDivisors takes an integer and returns an array with all of the integer's divisors (except for 1 and the number itself). Prime numbers are not allowed. calcFactorial calcFactorial calculates and returns the factorial for a given input. Input below 0 and above 12 is not allowed. calcPrimeNumbers calcPrimeNumbers takes an array with integers finds the prime numbers and returns the result as a XML document which each found prime number in a ‘number’ node.
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-18