View Code of Problem 111

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

Double click to view unformatted code.


Back to problem 111