Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
I've got problems with this exercise
Fill in the blanks to calculate the sum oft all elements in the array "arr" using the enhanced for loop: int res=0; ___(int el___arr){ res+=__; }
4 Respostas
+ 11
int res=0;
for(int el : arr){
res+= el;
}
0
int res=0;
for(int el : arr){
res+= el;
0
int res=0;
for(int el : arr){
res+= el;
0
for
:
el