Solución
solution.tsTypeScript
public class Solution {
public int mayorDeTres(int a, int b, int c) {
// Escribe tu solución aquí
int x = 0;
if(a >b){
x = b;
b = a;
a = b;
}
if(b > c){
x = c;
c = b;
b = c;
}
if(a > b){
x = b;
b = a;
a = x;
}
return c;
}
}0respuestas