0

Saya serius !

anyone knows the tax code formula in python pycharm

3rd Dec 2020, 1:46 PM
✿★ミศอศཡརƴศཏ彡★✿
✿★ミศอศཡརƴศཏ彡★✿ - avatar
6 odpowiedzi
+ 1
Thankyou brother 😊 barakallahu fiik
3rd Dec 2020, 2:57 PM
✿★ミศอศཡརƴศཏ彡★✿
✿★ミศอศཡརƴศཏ彡★✿ - avatar
0
Can you explain your problem a bit more?
3rd Dec 2020, 1:58 PM
Yohanan
0
the problem is I don't know what code to write when using taxes For example, the problem is that the price of 1 television 3 million from 1 television unit has a tax of 10% so what is the total price if the tax is 10%
3rd Dec 2020, 2:21 PM
✿★ミศอศཡརƴศཏ彡★✿
✿★ミศอศཡརƴศཏ彡★✿ - avatar
0
the code I mean is pseudecode, brother
3rd Dec 2020, 2:28 PM
✿★ミศอศཡརƴศཏ彡★✿
✿★ミศอศཡརƴศཏ彡★✿ - avatar
0
If the the price is 'p' and the tax is 't' percent, then the total cost is c = p + (t/100)*p c = p + 0.0t*p c = p(1 + 0.0t) c = p(1.0t) If the tax is 7%, then the total cost is p*1.07 If the tax is 18%, then the total cost is p*1.18 If the tax is 36%, then the total cost is p*1.36 etc
3rd Dec 2020, 2:34 PM
Yohanan
0
You're welcome
3rd Dec 2020, 4:48 PM
Yohanan