PROGRAMMING CODE/C

[BAEKJOON] No.10952 C언어

daye_ 2021. 10. 18. 19:40

A+B-5

#include <stdio.h>

int main(int argc, const char * argv[]) {
   int a=0,b=0;
   while(1){
   scanf("%d %d",&a,&b);
   if(a==0&&b==0) break;
   printf("%d\n",a+b);
   }
   return 0;
}