Generation

generate functionWed, 12 Apr 2023

Implementar una función que aumente el valor recibido en 5 hasta un límite de 8 veces. // Retornar el valor final. // Utilizar el bucle Do-While.

function aumento(n){ var i = 0; do{ n += 5; i += 1; }while(i<8) return n; } aumento(5)

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant