How to fill in the to use the enhanced for loop for an array called "arr" below | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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

24th Jun 2019, 4:07 PM
Boy Arya
Boy Arya - avatar
1 Answer
+ 5
colon, array name for (int x : arr)
24th Jun 2019, 4:09 PM
blACk sh4d0w
blACk sh4d0w - avatar