59 of 100 menu

Java Taskbook Level 6.9

Determine how many days are left until the next Sunday. Output the result to the console.

Output to the console the name of the day of the week of the last day of the current month.

Write code that will compare the two dates below and print a message telling you which one is greater:

String date1 = '2020-11-30'; String date2 = '2020-12-31';

Given a string with a number:

"1234567"

Separate the triplets of numbers with spaces, starting from the end of the number. In our case, we should get the following:

"1 234 567"
enru