Sección 3. Capítulo 4
single
Challenge: Modify Array Values
Desliza para mostrar el menú
Tarea
Swipe to start coding
Write a function that modifies every element of an array by doubling its value. Follow these requirements:
- Declare and initialize the array in
main; - Pass the array and its size to a function;
- Use a loop to access each element;
- Modify the array in place;
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 3. Capítulo 4
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla