#include <stdioh>
int main()
{
int N,i;
printf("entrez un nombre entier positif N : ");
scanf("%d ", &N);
printf("les nombres de 1 à %d sont : \n", N);
for (i=1; i<=N; i++)
{
printf("%d ", i);
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: