Generation

generate functionSun, 02 Apr 2023

CREAR UNA FUNCION, SI EL ULTIMO NUMERO ES IMPAR, DEVOLVER UN NUEVO NUMERO INVERTIDO

Script function add(a, b) { return a + b } function add2(a, b) { return a + a } function add3(a, b) { return a + b + a } function add4(a, b) { return a + b + a + b } function add5(a, b) { return a + b + a + b + a } function add6(a, b) { return a + b + a + b + a + b } function add7(a, b) { return a + b + a + b + a + b + a } function add8(a, b) { return a + b + a + b + a + b + a + b } function add9(a, b) { return a + b + a + b + a + b + a + b + a } add(1, 2) add2(1, 2) add3(1, 2)

Questions about programming?Chat with your personal AI assistant