回答済み Why is the factorial of 0 equal to 1?
A Factorial of a number n can defined as the total number of ways of selecting n different objects.
For Example, total number ...
The rabbit problem
Someone discovered that rabbits reproduce at the rate of fibonnaci so you just input the number and it will print the fibonnaci ...
8年弱 前
解決済み
Average speed for the entire trip
The input is two speeds (for the trip and return trip) and output is average speed. Assume units are consistent, say miles per h...
8年弱 前
解決済み
Number Persistence
A number's persistence is the number of steps required to reduce it to a single digit by multiplying all its digits to obtain a ...
8年弱 前
解決済み
Computing Wind chill
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...
8年弱 前
解決済み
What's size of TV?
Many people buy TV. Usually they ask about diagonal. But also important are width and height. Let's assume that all TV have rati...
8年弱 前
解決済み
Power of n ?
Determine if _x_ (positive integer) is a power of _n_, return true or false accordingly.