57 of 100 menu

Java Taskbook Level 6.7

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

Ask the user to enter ten numbers. Store the resulting numbers in an array, then take the average of these numbers and print the result.

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

Given a number:

123456

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

12 + 34 + 56
enru