Rust Taskbook Level 6.8
Determine whether today is a weekend or a weekday. Output the result to the console.
Ask the user to enter a year. Get a vector of dates of all Fridays 13
th in the entered year.
Given a string of words, sort the words in alphabetical order.
Given two tuples with dates:
let tpl1 = (2025, 11, 29);
let tpl2 = (2027, 12, 31);
Find the difference in days between these dates.
Given a line with a date:
"2025-2-1"
Write code that will add zeros to the month and day if necessary:
"2025-02-01"
Write a program that will generate the following string:
"-1-22-333-444-55555-"