Write down the algorithm which will input the price of 5 items. Calculate the total price
and apply a discount of 10% on the total amount. Display the final amount and amount after
discount.
Answers
Answered by
0
Answer:
sorry, I don't know your answer.
Explanation:
please follow me and make me a brainlist
Answered by
5
Answer:
Explanation:
Step 1: Start.
Step 2: Read 5 items price as :
it1, it2, it3, it4, it5.
Step 3: Calculate total price as:
tp = it1 + it2 + it3 + it4 + it5;
Step 4: Print "Final amount :" as tp.
Step 5: Apply 10% discount on all items:
dp = tp * 0.10;
Step6: Calculate final amount after discount:
fAd = tp - dp;
Steo 7: Printf "Final amount after discount: " as fAd;
Step 8: Stop.
Similar questions