Skip to content

Latest commit

 

History

History

return-the-first-m-multiples-of-n

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Implement a function, multiples(m, n), which returns an array of the first m multiples of the real number n. Assume that m is a positive integer.

Ex.

multiples(3, 5)

should return

vec![5, 10, 15]