Good morning, everyone. I've been looking for how to text a number and I have not found anything clear.
The idea was to find the largest and smallest value of the matrix and after finding them, give it the bold format.
int mayor = matriz[0][0];
int menor = matriz[0][0];
for (int i = 0; i < matriz.length; i++){
for (int j = 0; j < matriz.length; j++){
if(matriz[i][j] < menor)
menor = matriz[i][j];
else if (matriz[i][j] > mayor)
mayor = matriz[i][j];
}
}
Thanks in advance.
Good afternoon.