The starter has four daily counts in visitors and a total set to zero. Add each element once, starting at index 0 and stopping after index 3. A condition of i <= 4 would attempt an out-of-bounds access. Leave the supplied print after your loop.
After each addition, the running total should be 2, 7, 13, then 20. Edit main.c, Run, and Submit once that final total appears.
The starter’s (void) name; lines only mark supplied values as intentionally unused while the task is unfinished. They do not change those values. You may keep them or remove them after using the values.
for loop that accumulates all four elements of visitors into total. The supplied print should produce Visitors: 20 and a newline.The output check sees the total, not how you calculated it. Make sure the index moves on each pass and that you add visitors[i] rather than a fixed value.
Loop while i < 4 and add visitors[i] on every pass.