Question: Write the program that will accept the name of an item, its price, the quantity and a taxcode value that is either 0 or 1.
Write the program that will accept the name of an item, its price, the quantity and a taxcode value that is either 0 or 1.
If the taxcode is 1, then gct of 16.5% is to be calculated for the item and the program should determine the sales amount, the tax amount and the total that is due for the item (inclusive of tax). The output for the program is the sales amount and the calculated tax amount.
can I have the python code version of this?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
