igogiko

Untitled

Sep 8th, 2012
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int buff(int dmg) {
  6.     return dmg - 100;
  7. }
  8.  
  9. int main() {
  10.     int damage = 200;
  11.     int uusDamage = buff(damage);
  12.  
  13.     cout << uusDamage;
  14.  
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment