Study/BAEKJOON

[BAEKJOON] 10952번 : A+B - 5

1nfra 2020. 9. 15. 11:18
728x90
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdio.h>
 
int main() {
    int a = 0, b = 0;
 
    while (1) {
        scanf("%d %d"&a, &b);
        if (a == 0 && b == 0break;
        printf("%d\n", a + b);
 
    }
    return 0;
}
cs
728x90