Question
please provide answers in pseudocode and coral Design a program to calculate awards points for a book club. The club awards points to its customers
please provide answers in pseudocode and coral
Design a program to calculate awards points for a book club. The club awards points to its customers based on the number of books purposed per month. The points are awareded as follows:
If a customer purposes 0 books, he/she earns 0 point.
If a customer purposes 1 books, he/she earns 5 points.
If a customer purposes 2 books, he/she earns 15 points.
If a customer purposes 3 books, he/she earns 30 points.
If a customer purposes 4 or more books, he/she earns 60 points. (Notes: The processing function may need two parameters, and returns points earned. Please use multiple-alternative decison structure. DO NOT use separate single-alternative if sets.)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started