View Code of Problem 87

#include<stdio.h>
int main()
{
	int n,x,y;
	scanf("%d",&n);
	if(n%2!=0)
	{
		x=0;y=0;
	}
	else
	  {
	  	x=n/4;
	  	y=n/2;
	  }
	printf("%d %d",x,y);
}

Double click to view unformatted code.


Back to problem 87