Advertisement
Guest User

Untitled

a guest
Apr 28th, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. #include <iostream>
  2.  
  3.  
  4. int main()
  5. {
  6.     int a,b;
  7.     scanf("%d %d",&a,&b);
  8.     if (a+b == 10){
  9.         printf("%s","10");
  10.     }else {
  11.         printf("%d",a+b);
  12.  
  13.     }
  14.     return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement