Asked by Jessica
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
Answered by
oobleck
taxrate = 0.12
read medicine,quantity,unitprice
totalprice = quantity * unitprice * (1+taxrate)
read medicine,quantity,unitprice
totalprice = quantity * unitprice * (1+taxrate)
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.