#include <stdio.h>

int main() {
    //for문
    /*
    for(int i=1;i<=10;i++){
        printf("hello world! %d\n", i);        
    }

    for(int i=10;i>=1;i--){
        printf("hello world! %d\n", i); 
    }
    */

    /* 구구단
    int n;
    scanf("%d", &n);

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

    int t, a, b;
    scanf("%d", &t);

    for(int i=1;i<=t;i++){
        scanf("%d %d", &a, &b);
        printf("%d\n", a+b);
    }    

}

Embed on website

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