解決済み


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

約8年 前

解決済み


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

約8年 前

解決済み


Add two numbers
Given a and b, return the sum a+b in c.

約8年 前

解決済み


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

約8年 前