#include <stdio.h>
#include <conio.h>
main()
{
int i, j, c;
printf ("introduzca entero: ");
scanf ("%d", &c);
for (j = c; j >= 1; j = j - 1) // starts a loop that starts at c and ends at j is 1
{
printf ("\n");
for (i = 1; i <= j; i++)
{
printf (" %d", i);
}
printf ("\t");
for (i = j; i >= 1; i = i - 1)
{
printf ("%d ", i);
}
}
getch();
}
conio is nonstandard and you are only using it to control your program's exiting; see the articles section or the Console Closing Down thread in this section for alternatives that are more reliable.
I couldn't hold back the style comment, but I use iostream not stdio so I'm not sure if I can help you with the printing. What does the current output look like? (using the above code)