Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок0
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 ответов
+ 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