A program is supposed to read in a tax rate as
a percentage and the price of three items.
Then it calculates the total price before taxes and then the tax payable
on these items. Both values are to be
output.
1. input tax rate
2. input price1
3. input price2
4. input price3
5. calculate total price
6. calculate tax = total * taxrate
7. output total price
8. output tax
1.1 output "enter tax rate as percentage
"
1.2
input tax rate
2.1 output "enter price 1"
2.2
input price1
3.1 output "enter price 2"
3.2
input price2
4.1 output "enter price 3"
4.2
input price3
5.1
total price = price1 + price2 + price3
7.1 output "total price is " total
price
8.1 output " tax is " tax