#include <stdio.h>

int main() {
    int a;
    scanf("%d", &a);
    printf("%d\n", a*2);

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

    int age;
    scanf("%d", &age);
    if(age >= 8 && age <= 13){
        printf("초등학생입니다.\n");
    }

    for(int i=10;i>=1;i-=2){
        printf("%d\n", i);
    }

    int n1, n2;
    for(int i=0;i<5;i++){
        scanf("%d %d", &n1, &n2);
        printf("%d\n", n1+n2);
    }
    
}

Embed on website

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