Asked by Nqobile Phokane
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
Answered by
oobleck
read price
discount = 0.10 * price
sale = price - discount
print discount, sale
discount = 0.10 * price
sale = price - discount
print discount, sale
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.