Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main () {
  5. int tp;
  6. int bnl;
  7. int bp;
  8. int a;
  9.  
  10. cin >> tp >> bnl >> bp;
  11. a = tp + bp;
  12.  
  13. if (a>bnl) {
  14. cout << "Ya" << endl;
  15. } else {
  16. cout << "Tidak" << endl;
  17. }
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement