C++ Taskbook Level 6.7

Задание 1

Ask the user to enter their phone number. Check if they entered the correct value.

Задание 2

Output to the console the dates of all weekends of the current year in the format year-month-day.

Задание 3

Given a number:

cpp123456

Find the sum of the pairs of digits of this number. In our case, we mean the following:

cpp12 + 34 + 56