1000 A+B Problem

A+B Problem
 
Description
Calculate a + b
 
Input
Two integer a,,b (0 ≤ a,b ≤ 10)
 
Output
Output a + b
 
Sample Input
1 2
 
Sample Output
3
 1  #include < stdio.h >  
 2 
 3  int  main() 
 4 
 5       int  a,b; 
 6       while (scanf( " %d %d " , & a, & b) != EOF) 
 7      { 
 8          printf( " %d\n " ,a + b); 
 9      } 
10       return   0
11  }
12 


题目没啥好讲的了……
不过这是本人第一个blog的第一篇,很有意义啊~~

你可能感兴趣的:(1000 A+B Problem)