Its easier for me to write my own code than to try figuring out what someone is trying to do with his/her code. So here is your code, edited, and running. I just commented out what i didn't like and wrote my own piece of code for that.
Code:
#include<stdio.h>
#include<stdlib.h>
int main ()
{
int numrows, numcols,row,col,spaces;
printf("Enter the length of your figure:\n");
scanf("%d", &numcols);
printf("Enter the width of your figure\n");
scanf("%d", &numrows);
/*for(row=0; row<numrows;row++);
{
spaces
for(col=0;col<row;col++)
printf(" ");
stars
for(col=0; col<numcols; col++)
{
printf("*");
}
*/
for(row=1;row<=numrows;row++)
{
printf("\n");
for(spaces=0;spaces<row-1;spaces++)
printf(" ");
for(col=1;col<=numcols;col++)
printf("*");
}
system("pause");
return 0;
}