Respuesta :
In this exercise we have to have knowledge in computational language in C to write the requested code.
The code is found in the attached image.
We can write the code in a simpler way like:
#include<stdio.h>
#include<conio.h>
int main()
{
int N, i;
printf("Enter the value of N (limit): ");
scanf("%d", &N);
printf("\n");
for(i=1; i<=N; i++)
{
if(i==N)
printf("%d", i);
else
printf("%d,", i);
}
getch();
return 0;
}
See more about C language at brainly.com/question/19705654
