Convert Roman to Arabic Numerals
Based upon what I see on tv and at the movies, the use of Roman numerals indicates something is important or sophisticated (e.g....
environ 14 ans il y a
A résolu
Woodall number
Test whether the input is a Woodall number: <http://en.wikipedia.org/wiki/Woodall_number>
_Please do not cheat by simply chec...
environ 14 ans il y a
A résolu
High school cafeteria
Given an input vector of positive integers, return a row vector with the primes first (in increasing order) and the composites n...
environ 14 ans il y a
A résolu
Figurate number triangle
Check whether the input matrix is a figurate number triangle: <http://mathworld.wolfram.com/FigurateNumberTriangle.html>
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
environ 14 ans il y a
A résolu
Times 2 - START HERE
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
Examples:...