Java Taskbook Level 2.7
Задание 1
Given an array of integers:
javaint[] arr = {1, 2, 3, 4, 5};
Find the sum of the squares of the elements of this array.
Задание 2
Given an array of numbers:
javaint[] arr = {1, 2, 3, 4, 5};
Merge the elements of this array into a string:
java"12345"
Задание 3
Given an array with a date:
javaString[] arr = {"2025", "12", "31"};
From the elements of this array, collect the date in the following format:
java"31-12-2025"