#include <stdio.h>

int main() {
    int i;
    for(i=1;i<11;i+=1){
        printf("%d\n",i);
    }

    i=1; 
    while(i<=20){
        printf("현재 값은 %d입니다.", i);
        i+=2; //증가
    }

    i=20;
    while(i>1){
        printf("%d\n", i);
        i-=2;
    }
    
}

Embed on website

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