And I'd like to add that, even when you make a legitimate question for something you're simply trying to learn. Just asking won't get you close to getting help.
Most people here (and similar groups/forums) will expect that whoever asks a questions shows that has spent some time on solving the problem already. If people: 1- post a link to a problem or question 2- share what has tried or understood (or didn't understand) 3- ask for help on understanding how to solve it (instead of solutions in "any" language) You'll get tons of answers quickly. Carlos Guía On Tue, Aug 13, 2013 at 10:10 AM, Hernan Badenes <[email protected]> wrote: > The problem you are posting comes from here -- > http://www.stockmarketindian.com/calculate_brokerage_charges.html > > I would suggest, encourage, beg everyone to stop posting your own > assignments, be it work or school, for anyone else to solve them for you. > If you have questions from some coding challenge, asking for ideas or > validating your results here *might* be a good idea. But this is not the > list for any of the other questions, please stop the spam! > > thanks, > Hernan > > > On Tue, Aug 13, 2013 at 8:02 AM, Himanshu Negi <[email protected] > > wrote: > >> The current maximum intra-day brokerage offered is 0.03% for buying and >> 0.03% for selling. >> >> Taxes >> >> 1. The service tax is of 10.36% only on brokerage. >> 2. The STT (Security Transaction Tax) is of 0.025% only selling amount. >> 3. The stamp duty on total turnover for a day which is 0.002%. >> 4. and finally you have to pay Regulatory charges on total turnover for a >> day which is 0.004% >> >> Example - >> >> Suppose the shares of Bank has been bought at Rs.315, quantity - 100 so >> the amount comes to Rs.315 x 100 = Rs.31500. >> Your buying amount >> Rs.31500 (Rs.315x100 Qty shares) >> >> Brokerage charge >> >> 0.03% as brokerage on 31,500 which comes to Rs.9.45 >> >> Service Tax >> >> The service tax is 10.36% only on brokerage, so 10.36 % on Rs.9.45 comes >> to Rs 0.98. >> Total charges you have pay on buying amount is >> The total brokerage + service tax which come to Rs.9.45 + Rs.0.98 = >> Rs.10.43 >> Your selling amount >> Suppose you sold Bank shares at Rs.316, Qty - 100 so the amount comes to >> Rs.31,600 (Rs.316 x 100 Qty shares) >> Brokerage charge >> 0.03% brokerage on 31600, comes to Rs.9.48 >> >> STT(Service Transaction Tax) only on selling amount >> >> The STT (Service Transaction Tax) is 0.025% on selling amount (the >> selling amount is 31,600) which comes to Rs.7.9. >> >> Total charges you have to pay on Selling amount is >> Total brokerage + service tax + STT on selling amount is >> = Rs.9.48 + Rs.0.98 + Rs.7.9 >> = Rs.18.36 >> >> Total amount you have to pay on buying and selling is >> = Rs.10.43 (buying) + Rs.18.36 (selling) >> = Rs.28.79 >> >> Your total turn over is calculated by adding the buying amount and >> selling amount. >> Buying amount is 31500 and selling amount is 31600 which adds up to Rs. >> 61300 >> Stamp duty is 0.002% and Regulatory charges are 0.004% which adds up to >> 0.006% >> So on total turnover amount (Rs. 61300) the stamp duty and regulatory >> charges comes to Rs 3.8. >> So the total amount you have to pay including brokerage and all taxes is >> only >> Rs 28.79 + 3.8 = 32.58 >> >> Conclusion >> >> So now the conclusion is you are paying Rs.31.02 while you earned the >> profit of Rs.100. >> So your profit is Rs 100-32.58 = 67.42 >> >> user has to enter brokerage tax in %. and buying amount and selling >> amount and quantity of the share. >> now calculate the total profit or loss in this transaction. >> >> Write a program to compute Profit or Loss statement for Transactions. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Code Jam" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/google-code/4ef9102d-b6d4-4429-950c-5b46c0a76c2d%40googlegroups.com?hl=en >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Saludos, > H. > > -- > You received this message because you are subscribed to the Google Groups > "Google Code Jam" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-code/CAPEvYPaysPB6HajenxzVY-ZOQzZ%2BkY4Ue-3vKfxJvZqJW6zwOQ%40mail.gmail.com?hl=en > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-code/CANxkOGZnM4h8zp9YCV3cS%3D67TpYmAY3jeN1F%2BJuacO3XA18ZJQ%40mail.gmail.com?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
