PGhosh

C Challenge

Mar 3rd, 2014
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.15 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.     int a,b,c,n=2;
  6.     while(2 == scanf("%d %d", &a,&b))
  7.     {c=a+b;
  8.     printf("%d\n", c);}
  9.     return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment