My problem is that when trying to repeat a program with a while inside, the program did not show me anything.
This is my code:
main()
{
int i=1;
do
{
printf("\nPrograma 'Serie 1-10'");
getch();
while(i<=10)
{
printf("%i, ", i);
i++;
}
getch();
printf("\nDesea repetir el programa 'Serie 1-10'? S/N ");
scanf("%s", &continuar);
system("cls");
}while(continuar == 's'|| continuar =='S');
}