In the program, I met a rather interesting moment of the rand() function and after it there are numbers.
mas[i] = rand() % 105 - 5; I understand that this is the assignment of a random value to a cell with an index i in the mas array
Here interests that under this represents this record % 105 - 5 . I understand that this is a number from 0 to a random maximum and the remainder of dividing by 105 , well, that's what -5 . And why use it?