Help me in solving DEM7 problem

My issue

My code

#include <stdio.h>

int main(void) {
	int m,n,i,j;
	scanf("%d %d",&m,&n);
	for(i=0;i<m;i++)
	{
	    for(j=0;j<n;j++)
	    {
	        printf("X");
	    }
	    printf("\n");
	}
	return 0;
}


Problem Link: DEM7 Problem - CodeChef

@likhitha50
U have done the implementation mistake
u have to print X for the borders of the frame and for inside u should print +.