Calculate a+b
标签:
Calculate a+b
Two integer a,b (0<=a,b<=10)
Output a+b
C++
1 #include <iostream> 2 using namespace std; 3 int main() 4 { 5 int a, b; 6 cin >> a >> b; 7 cout << a + b << endl; 8 return 0; 9 }
Pascal
1 var 2 a, b:Integer; 3 begin 4 Readln(a, b); 5 Writeln(a + b); 6 end.
标签:
原文地址:http://www.cnblogs.com/CtrlCV/p/5351048.html