On the road of code farmers, there is no way out !!!
你是蛋糕店的C#工程師,一盒蛋糕可以切成八塊,整盒賣240元, 單買一塊賣35元,你的工作是在讀入銷售數量後,輸出售價。 輸入的值乘上8後,小數部分一定為零,若為0,則計算結束。 範例 Input: 6 3.125 6.5 8.75 0 Output 1440 755 1580 2130
http://pastie.org/2236590