Challenge: Modify Array Values
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
Suggested prompts:
Can you explain that in more detail?
What are the main benefits or drawbacks?
Can you give me an example?
Genial!
Completion tasa mejorada a 7.69
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