Rohyoohyun / C

0 stars 0 forks source link

11021 A+B -7 #10

Open Rohyoohyun opened 2 months ago

Rohyoohyun commented 2 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("Case #%d: %d\n", i+1, sum);

}
return 0;

}