알고리즘/백준

[백준_단계별로 풀어보기] while - 10952번 A+B-5 | c언어

jiiihye 2022. 1. 7. 10:24

c언어

#include<stdio.h>

int main(){
    int a,b;
    while(1){
        scanf("%d %d",&a,&b);
        if(a==0 && b==0) break;
        printf("%d",a+b);
    }
    return 0;
}