C++ Taskbook Level 7.2

Задание 1

Make a function that will take a number as a parameter and remove zeros from it.

Задание 2

Make a function that will return how many days have passed or are left until a given date in the year, depending on whether that date has already happened or not.

Задание 3

Make a function that takes a year as a parameter and checks whether it is a leap year or not.

Задание 4

Make a function that will return how many days are left until the end of the current month.

Задание 5

Make a function that will return the previous, current and next days of the week in words as the following array:

cpp{"Mon", "Sun", "Sat"}