#include <stdio.h>

int main(){
    
    int n1, n2,n;
    printf("Digite um numero: ");
    scanf("%i",&n1);
    fflush(stdin);
    printf("\nDigite outro numero: ");
    scanf("%i",&n2);
    fflush(stdin);
    

    for(n1=1;n1<n2;n1++){
        printf("%i \n",n1);

    }
    

    return 0;    

}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: