Rohyoohyun / C

0 stars 0 forks source link

15552 빠른 A+B #9

Open Rohyoohyun opened 4 months ago

Rohyoohyun commented 4 months ago

include

int main(){ int n, price, cnt; scanf("%d", &n);

int sum=0;
for(int i=0; i<n; i++){
    scanf("%d %d", &price, &cnt);
    sum = price+cnt;
    printf("%d\n", sum);

}
return 0;

}