This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 27th, 2013  |  syntax: C++  |  size: 0.15 KB  |  views: 1,476  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }
clone this paste RAW Paste Data