read price
tax = price * 0.08
print price,tax
Write the pseudocode for an application that allows a user to enter the price of an item and computes 8 percent sales tax on the item and prints out for the user the original price and the tax but not the total.
6 answers
STEVE
i don't understand what should first write
i don't understand what should first write
this kind of code is about as simple as it gets. I don't know what language you plan to use, but do a little google to see how others have performed the operations you desire. There are lots of code snippets on line.
Write pseudocode for a program that calculates a customer’s total price after tax. The program will ask the user for the price of the item they are buying. Then the program will add a 5% tax to the item and output the final price. So if I tell the program my item costs $20.00 the output will be: Your total after tax is $21.00
Using a word processor of your choice, write the pseudocode for an application that allows a user to enter the
price of an item ($5.00) and computes 8 percent sales tax on the item and prints out for the user the original price and
the tax but not the total.
price of an item ($5.00) and computes 8 percent sales tax on the item and prints out for the user the original price and
the tax but not the total.
Using a word processor of your choice, write the pseudocode for an application that allows a user to enter the
price of an item and computes 8 percent sales tax on the item and prints out for the user the original price and
the tax but not the total.
Example output:
Your item's price is $5.00 and the tax is $0.40
price of an item and computes 8 percent sales tax on the item and prints out for the user the original price and
the tax but not the total.
Example output:
Your item's price is $5.00 and the tax is $0.40