Question
write a pseud code to calculate the total price a patient has to pay when purchasing a medicine from a pharmacy. The calculation includes a 12% tax.Find total price patient pays based on quantity, price\unit and tax.
Answers
taxrate = 0.12
read medicine,quantity,unitprice
totalprice = quantity * unitprice * (1+taxrate)
read medicine,quantity,unitprice
totalprice = quantity * unitprice * (1+taxrate)
Related Questions
need the icd 9 diagnosis code and ms drg along with the icd 10 and icd 10 pcs codes what code is ass...
Write pseud code which displays the name of any person with it flowchat
write pseudocode to calculate the total amount customer has to pay when purchasing items from a stor...
Use the code to answer the question.
def add_tax(price, rate):
tax = price * rate/100
r...