Largest of three · Maior de três
Largest of three
Return the biggest of three int values. Math.max(a, b) gives the larger of two — nest two calls to handle three: Math.max(a, Math.max(b, c)).
O maior de três
Retorne o maior de três valores int. Math.max(a, b) dá o maior de dois — anide duas chamadas para lidar com três: Math.max(a, Math.max(b, c)).
Complete max3(int a, int b, int c) so it returns the largest of the three. Hint: Math.max takes two values. · Complete max3(int a, int b, int c) para que retorne o maior dos três. Dica: Math.max recebe dois valores.
Click Run to see the output here. · Clique em Executar para ver a saída aqui.