C++ Taskbook Level 6.1

Задание 1

Print the current date in the format year-month-day.

Задание 2

Display the name of the current day of the week.

Задание 3

Ask the user to enter a number via the console. As a result, print the square root of that number.

Задание 4

There is a certain line with the words:

cpp"aaa bbb ccc eee fff"

Delete every second word from this line. In our case, we should get the following:

cpp"aaa ccc fff"