Given a code A wrote, putting the code in a given code B. there is the same parameter 'i' in A code & B code. the code doesn't work: 1. why? 2. how to fix. 3. how to make it generic
Anoniem
1. since the A code is missing 'var' in the loop, so there is the same parameter issue 2. add 'var' to the A code. 3. use a namespace declaration to make it generic.