股票价格差异 [英] price variance in stock
问题描述
您好
任何人都可以帮助c#编码以下方案吗?
谢谢
购买库存300件,每件6美元
卖出300单位12美元
购买库存200单位8美元
卖出400单位12美元
购买库存200个单位,价格为5美元
FIFO
总销售额700个单位。假设购买的首批单位已售出
已售出商品的成本=(300 x $ 6 + 400 x $ 7)= $ 4,600
LIFO >
总销售额700个单位。假设最后购买的单位已售出
已售出商品的成本=(200 x $ 5 +200 x $ 8)= $ 2,600
加权平均值
总销售额700个单位。假设每单位加权平均成本
每单位平均加权成本= $ 7,200 / 1100 = $ 6.55
Hello
Can any one help in c# coding to following scenario?
Thanks
Purchase Inventory 300 units at $6
Purchase Inventory 400 units at $7
Sell 300 units at $12
Purchase Inventory 200 units at $8
Sell 400 units at $12
Purchase Inventory 200 units at $5
FIFO
Total Sales 700 units. Assumption first units purchased are sold
Cost of Goods Sold = (300 x $6 + 400 x $7) = $4,600
LIFO
Total Sales 700 units. Assumption last unit purchased are sold
Cost of Goods Sold = (200 x $5 +200 x $8) = $2,600
Weighted Average
Total Sales 700 units. Assume a weighted average cost per unit
Average Weighted Cost per unit = $7,200/1100 = $6.55
推荐答案
6
购买库存400个单位
6
Purchase Inventory 400 units at
7
卖出300个单位
7
Sell 300 units at
12
在
12
Purchase Inventory 200 units at
这篇关于股票价格差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!