Input contains three integers N, L, X in each line
Line1
Brokerage rate
Line 2
Buying amount
Line 3
Selling amount
Line 4
Quantity
Assume STT to be fixed at 0.025%, Service Tax to be fixed at 10.36%, Stamp-duty on total turn-over is fixed at 0.002% and Regulatory charge on total turn-over is 0.004%
Output Format:
Print Profit or Loss as applicable with respect to transaction , and in next line print amount profit/loss faced
Line 1
For Valid Input,print
Profit
Or
Loss
For Invalid Input,print
Invalid Input
Line 2
For Valid Input,print
Amount of Profit / Loss faced in transaction
Dear sangeetha, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment