68 of 100 menu

Rust Taskbook Level 7.8

Make a function that takes an array as a parameter and returns a random element of that array.

Make a function that takes an array as a parameter and returns an array of N random elements of that array.

Make a function that takes an array as a parameter and returns a random element of that array so that the same elements are not returned twice in a row.

Create a function that will return an array of prime numbers from a given range.

Make a function that will take any number of numbers as parameters and return their sum.

Create a function that will fill an array of N with random numbers from a given range so that there are no two identical numbers in a row in the array.

Create a function that will fill an array of N random numbers from a given range so that the numbers do not repeat.

enru