Hi,

I have this task that I need to solve and am stuck.I would like some help on this please.I am fairly new to this,so not sure what I should do.....really appreciated if anyone could help me out

*Question Write an Algorithm to calculate discounts.*

Bookstore is offering discounts to customers. Classifications of customers are:

Library,Schools,Educational institutions

no of books purchased

more than 50 books receive 30% discount

25 to 49 20%"

15 to 24 books 15%

5 to 14 books 10%

less than 5 books 5%

If customer is an Individual:

more than 25 books 25% discount

5 to 24 books 15% discount

Thanks