Rust Taskbook Level 10.5
Given a number, display the process of factoring the number into prime factors, as in school.
Given an arbitrary two-dimensional array:
[
[11, 12, 13, 14, 15],
[21, 22, 23, 24, 25],
[31, 32, 33, 34, 35],
[41, 42, 43, 44, 45],
[51, 52, 53, 54, 55],
}
Zero out the elements of its main diagonal:
[
[ 0, 12, 13, 14, 15],
[21, 0, 23, 24, 25],
[31, 32, 0, 34, 35],
[41, 42, 43, 0, 45],
[51, 52, 53, 54, 0],
}