1. 程式人生 > >A+B Problem (程式入門)

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;
	scanf("%d%d", &a, &b);
	printf("%d", a + b);
	return 0;
}