0
Function on arrays
Given arrary [[2,4],[6,8]] , i need to create function which divide every element by 2, and return a new array with the divided elements :[ [1,2],[3,4]] Guess i need to work with nested loops but i get stuck. please help me:)
3 Answers
+ 2
Please show us your attempt!
+ 2
1. Sepcify the language you're using in the tags
2. Please show us your attempts of how you tried to solve this problem, and where you were stuck exactly
0
You don't need a nested loop, let us just start there.