View Code of Problem 109

#include<stdio.h>
int main()
{
	int n,;
	scanf("%d",&n);
	int a[n],b[n];
	for(int i=0;i<n;i++)
	{
		scanf("%d%d",&a[i],&b[i]);
	
	}

	for(int j=0;j<n;j++)
	printf("%d\n",a[j]+b[j]);
}
/*
Main.c: In function 'main':
Main.c:4:8: error: expected identifier or '(' before ';' token
  int n,;
        ^
*/

Double click to view unformatted code.


Back to problem 109