annotation
  1. Content for list item
    1
  2. Content for list item

Câu hỏi 26505 - Kỹ thuật lập trình cơ sở - IT01

Cho đoạn mã sau:

int n, a[20];

int s = 0;

for(int i=0;i

s = s + a[i];

Đoạn mã trên thực hiện yêu cầu gì?

Chọn đáp án: