Question
3. Write an algorithm and pseudocode which asks a user to enter the price of an item. Once the user enters the price, calculate the discount at 10% and print the discount amount and the new price after the 10% discount
Answers
read price
discount = 0.10 * price
sale = price - discount
print discount, sale
discount = 0.10 * price
sale = price - discount
print discount, sale
Related Questions
Need Python pseudocode and program that asks the user to enter the number of packages purchased. The...
"write a program that asks the user to enter the price of an item and rate of discount. If discount...
Ask the user to enter the discount percentage(rate) offered in a sale
Accept the discount percent...
Write an algorithmic description(pseudocode) and draw a flowchart for a program that calculate 20% d...