11 lines
133 B
C++
11 lines
133 B
C++
|
|
||
|
void someFunc()
|
||
|
{
|
||
|
int accumulated = 0;
|
||
|
int numbers[] = { 1, 2, 5 };
|
||
|
for (int i : numbers)
|
||
|
{
|
||
|
accumulated += i;
|
||
|
}
|
||
|
}
|