Algorithm for Fogbugz pricing scheme

Posted by Anon1865 on Stack Overflow See other posts from Stack Overflow or by Anon1865
Published on 2010-04-21T18:03:53Z Indexed on 2010/04/21 19:43 UTC
Read the original article Hit count: 427

Filed under:
|
|

Hi,

I'm looking for an algorithm to calculate total cost of licenses purchased based on the "FogBugz for your server" pricing scheme (http://www.fogcreek.com/FogBugz/PriceList.html).

Fogbugz pricing is:

  • 1 License $299
  • 5 License Pack $999
  • 10 License Pack $1,899
  • 20 License Pack $3,499
  • 50 License Pack $7,999

If you ask a quote for let's say 136 licenses they calculate it as $22,694.

How can I do this in C# or LINQ?

Any help will be appreciated.

© Stack Overflow or respective owner

Related posts about LINQ

Related posts about algorithm