Java Taskbook Level 6.9
Задание 1
Determine how many days are left until the next Sunday. Output the result to the console.
Задание 2
Output to the console the name of the day of the week of the last day of the current month.
Задание 3
Write code that will compare the two dates below and print a message telling you which one is greater:
javascriptString date1 = '2020-11-30';
String date2 = '2020-12-31';
Задание 4
Given a string with a number:
java"1234567"
Separate the triplets of numbers with spaces, starting from the end of the number. In our case, we should get the following:
java"1 234 567"