/* This code: Given two positive integers m and n, write
code that prints asterisks in the form of an m by n 
rectangle. */

# include <stdio.h>

main()
{

int m,n;
int rows,cols;

printf("Sides of the rectangle, m and n:");
scanf ("%d %d",&m,&n);

for (rows=1; rows<=m; rows++)
{
for (cols=1; cols<=n; cols++)
  printf("(%d %d)* ",rows,cols);
  printf("\n");
}

}


