C++ Taskbook Level 7.3

Задание 1

Create a function that takes an array as a parameter and returns a new array that does not contain duplicate elements.

Задание 2

Create a function that will take an array as a parameter and return a new array that does not contain identical, adjacent elements.

Задание 3

Create a function that takes an integer as its first parameter and returns the number of its digits specified by the second parameter.

Задание 4

Make a function that takes a number as a parameter and checks whether it is prime or not.

Задание 5

Create a function that takes an array of numbers as a parameter and returns the maximum and minimum values ​​from that array as the following array:

cpp[9, 1]