
/*print a rectangle*/
#include <stdio.h>

main()
{

int x,y,i,j;


printf("Enter the width and height of the rectangle:");
scanf("%d %d",&x,&y);

for (i=1;i<=x;i++) {

   for (j=1;j<=y;j++)
      printf("@");

printf("\n");
}

}

