Rust Taskbook Level 5.6

Задание 1

Determine how many digits are needed to write down all the integers in the range from 1 to 100.

Задание 2

Write a program that will find the roots of a quadratic equation. To do this, ask the user for three numbers that will be the coefficients of the equation.

Задание 3

Create the following array using loops:

rustint[] {
  [1, 2, 3],
  [4, 5, 6],
  [7, 8, 9],
}
Задание 4

Two numbers are given:

rustlet num1: u16 = 12345;
let num2: u16 = 45678;

Output to the console the numbers that are in both numbers.

Задание 5

Given an array with a date:

rustlet arr = [2025, 12, 31];

Write the data from this array into a tuple as follows:

rust(2025, 12, 31)