Create a vector from 0 to n by intervals of 2.
Function names cannot begin with a number. Also, this is an extremely simple problem that has been posted many times. Please put more thought into problems before posting them.
I changed the problem slightly and added some more test cases.
Number of 1s in the Binary Representation of a Number
319 Solvers
Create a square matrix of multiples
330 Solvers
Are all the three given point in the same line?
197 Solvers
Find out value of sine given by degree.
171 Solvers
Find the sides of an isosceles triangle when given its area and height from its base to apex
126 Solvers