Algorithm to input the price of a textbook

Write an algorithm to input the price of a textbook. Calculate the price and print the total cost of the book after 15% VAT is added

Questions by jovan

Showing Answers 1 - 0 of 0 Answers

rrc_83

  • Jun 22nd, 2010
 

In python -

input_price = float(input('Enter price of book'))
output_price = round((input_price * 1.15) , 2) // price+ price *0.15
print 'Cost of book after VAT is %s'% output_price

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions