阅读背景:

我想为折扣相关的购买选项编写一个c#逻辑

来源:互联网 

Here is the scenario.

这是场景。

There is a product (eg. Pen). Each pen costs 10$.For every 4 pens i buy, i get 10$ off. So if i buy 5 pens, I should be charged 40$. If purchased quantity is less than 4 there is no freebie. If someone buys more than 4 like 8, so the total charge should be 60$ and so on.There is a prod




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: