#include <stdio.h>

int main() {
    int n1, n2, n3;
    scanf("%d", &n1);
    scanf("%d", &n2);
    n3=n1;
    if(n1>n2){
        n1=n2;
        n2=n3;
    }
    for(int i=n1; i<=n2; i++){
        printf("%d\n ", i);
    }
    return 0;
}

Embed on website

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