Rust Taskbook Level 2.7
Given an array of integers:
let arr: [u8; 5] = [1, 2, 3, 4, 5];
Find the sum of the squares of the elements of this array.
Given an array of numbers:
let arr: [u8; 5] = [1, 2, 3, 4, 5];
Merge the elements of this array into a string:
"12345"
Given an array with a date:
let arr: [&str; 3] = ["2025", "12", "31"];
From the elements of this array, collect the date in the following format:
"31-12-2025"