Area of a Square
Inside a square is a circle with radius r.
What is the area of the square?
4年弱 前
解決済み
Return the 'Size' of a String of Code
One of the most 'mysterious' parts of playing Cody is the sizing system. Given a string of commands, return the size that Cody w...
4年弱 前
解決済み
First N Perfect Squares
*Description*
Return the first N perfect squares
*Example*
input = 4;
output = [ 1 4 9 16 ];
Sum the squares of numbers from 1 to n
For a given value of n return the sum of square of numbers from 1 to n.
Example
For n = 2
then sum of squares = 5 (1^2 + ...
4年弱 前
解決済み
Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.
4年弱 前
解決済み
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
4年弱 前
解決済み
Encode Roman Numerals
Create a function taking a non-negative integer as its parameter and returning a string containing the Roman Numeral representat...