Rust Taskbook Level 3.10

Задание 1

Given an integer:

rustlet num: u32 = 10203304506;

Print to the console the positions of all 0 digits in this number, except for the first and last.

Задание 2

Given an array of integers:

rust[123, 334, 456, 556, 789]

Write numbers consisting of different digits into a new array:

rust[123, 456, 789]
Задание 3

Given an integer:

rustlet num: u16 = 12345;

Get an array of number characters:

rustchar arr[] = ['1', '2', '3', '4', '5'];
Задание 4

The date is given in the following format:

ruststd::string date = "2025-12-31";

Convert it to the following format:

ruststd::string date = "31.12.2025";