A store gives a discount for senior


Assume a store gives a discount for senior citizens (55 and older) according to the following criteria.
A 10% discount to senior citizens who are between 55 and 64 years old.
A 15% discount for customers who are between 65 and 75 years old.
A 20% discount for customers more than 75 years old.
Nonseniors pay full price. Write a pseudocode algorithm that will input the purchase amount and the type of customer, and will print the discount rate and the amount of money owed. Use structured pseudocode as demonstrated in the lectures for code, ensure that all variables are declared, prompt the user for the appropriate input, and display a meaningful output message. Make sure that the total purchase is greater than 0 and the age is greater than 0.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: A store gives a discount for senior
Reference No:- TGS0920616

Expected delivery within 24 Hours