본문 바로가기
PROGRAMMING CODE/C

[BAEKJOON] No.11021 C언어

by daye_ 2021. 10. 18.

A+B-7

 

#include <stdio.h>

int main(int argc, const char * argv[]) {
    int n=0,a=0,b=0;
    scanf("%d",&n);
    for(int i=1; i<=n; i++){
        scanf("%d %d",&a,&b);
        printf("Case #%d: %d\n",i,a+b);
    }
    
    return 0;
}

'PROGRAMMING CODE > C' 카테고리의 다른 글

[BAEKJOON] No.14681 C언어  (0) 2021.10.18
[BAEKJOON] No.11022 C언어  (0) 2021.10.18
[BAEKJOON] No.10952 C언어  (0) 2021.10.18
[BAEKJOON] No.10951 C언어  (0) 2021.10.18
[BAEKJOON] No.10950 C언어  (0) 2021.10.18