0
How to fill in the to use the enhanced for loop for an array called "arr" below
Int total = 0; For(int x_ ___) { total +=x; } Plz anyone who can help me... thnks
1 Réponse
+ 5
colon, array name
for (int x : arr)
Int total = 0; For(int x_ ___) { total +=x; } Plz anyone who can help me... thnks