Fork me on GitHub

A+B Problem

Calculate a+b

输入

Two integer a,b (0<=a,b<=10)

输出

Output a+b

样例输入

1 2

样例输出

3
#include<stdio.h>
int main()
{
    int a,b,c;
    scanf("%d%d",&a,&b);
    c=a+b;
    printf("%d\n",c);
    return 0;
}

 

posted @ 2018-10-23 17:42  Lazy.Cat  阅读(182)  评论(0编辑  收藏  举报