View Code of Problem 111

#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);
	}
	return 0;
}

Double click to view unformatted code.


Back to problem 111