Java Taskbook Level 7.9

Задание 1

Make a method that will return how many days are left until the nearest 29 February.

Задание 2

Make a method that will return the date of the next Maslenitsa, which is celebrated on the last Sunday of winter.

Задание 3

Make a method that will return a random color.

Задание 4

Create a method that takes an array of numbers as a parameter and returns an array of common divisors of all numbers from the passed array.

Задание 5

Create a method that takes a two-dimensional array of numbers as a parameter and returns an array of the maximum numbers in each subarray.