Java Taskbook Level 6.8
Задание 1
Determine whether today is a weekend or a weekday. Output the result to the console.
Задание 2
Ask the user to enter a year. Print to the console the dates of all Fridays that are 13th in the year entered.
Задание 3
Given a string of words, sort the words in alphabetical order.
Задание 4
Given a line with a date:
java"2025-2-1"
Write code that will add zeros to the month and day if necessary:
java"2025-02-01"
Задание 5
Write a program that will generate the following string:
java"-1-22-333-444-55555-"