Java Taskbook Level 6.10
Ask the user to enter two dates in the format year-month-day. Determine how many days there are between the entered dates.
Fill the array with random numbers from 1
to 100
.
Output all dates of the current month to the console in the format year-month-day. Mark weekdays and weekends, as well as the current day.
Write a program that will generate the following string:
"12 34 56 78"
Write a program that will generate the following string:
"1+2-3+4-5+6-7+8"
Given an array of numbers:
{1, 2, 3, 3, 4, 5}
Check that this array contains two identical elements in a row.