Product of Array
Given an array of numbers. Get the product of the array.
2 years 前
已解决
0<=x<=pi?
Check whether the given angle is between zero and pi.
Return logical true or false.
2 years 前
已解决
Generate a NaN...on purpose
The goal is to create a function that will return a single "NaN" without using the nan function. I am interested to see how many...
Calculate Angle From Axis
Given coordinates x and y, an axis ("X" or "Y"), and a direction ("cw" or "ccw", meaning clockwise and counterclockwise, respect...
The great 82-year-old
Let's answer the question below;
'I am *x* years old and I have never written programs.
If I study from now, will I be able ...
2 years 前
已解决
Ohm's Law
Well its Ohm's law...
So V = IR!
I will give two of the three values, such as V and I or I and R and you have to return th...
2 years 前
已解决
Do you like your boss?
Do you like your boss?
Answer can be any string!
For example:
Boss = 'Do you like your boss?';
Output = 'yes'
or
...
2 years 前
已解决
Compare two input matrices
Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0".
Exa...