Advertisement
Guest User

Untitled

a guest
Mar 27th, 2013
1,647
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.15 KB | None | 0 0
  1. int MoneyTotal(int Fhead, int Ftail)
  2. {
  3.  int total = 0;
  4.  if (Fhead > 0)
  5.  {
  6.   total++;
  7.   total *= Fhead * 2;
  8.  }
  9.  total -= Ftail;
  10.  return total;
  11.  
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement