Codeforces 100. A+B Solution

Solve in C:

#include<stdio.h>
int main()
{
  int a,b;
  while(scanf("%d%d",&a,&b)!=EOF)
  {
   if(a<=0||b<=0)
    break;
    else
    printf("%d\n",a+b);
  }
}

No comments

Most View Post

Recent post

RESTful APIs with CRUD Operations in Laravel 12| (2025)

  RESTful APIs serve as the foundation of modern web development. They follow a set of rules called Representational State Transfer (REST) t...

Powered by Blogger.