I'm beginner in programming. I'm working with c. My program should produce something like this:

```
> Give me a number: 4
> Pattern is:
**** *
*** **
** ***
* ****

```

My solution is:

```
#include <stdio.h>

int main()
{
   int row, c, n, t, temp;

   printf("Give me a number: ");
   scanf("%d",&n);

   temp = n;

   for ( row = 0 ; row <= n ; row++ )
   {
      for ( c = 0 ; c < temp ; c++ ){
         printf("*");

      }

      for ( t = n ; t >= temp ; t-- ){
         printf(" ");
         printf("*");
      }

      temp--;

      printf("\n");
   }

   return 0;
}

```

My code produces this when i give 4 as input:

```
**** *
*** * *
** * * *
* * * * *
 * * * * *

```

Where should i put my `printf(" ");` in order to fix this?

thank you.