Print A Design-III

Print the following design:

   1
  212
 32123
4321234



#include<stdio.h>
#include<conio.h>
main()
{
int i,j,k,x;
clrscr();
for(i=1;i<5;i++)
{
for(x=5-i;x>1;x--)
  printf(" ");
for(j=i;j>=1;j--)
  printf("%d",j);
for(k=2;k<=i;k++)
  printf("%d",k);
printf("\n");
}
return 0;
}