Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Repairing And Querying Databases Under Aggregate Constraints

Authors: Sergio Flesca ,Filippo Furfaro ,Francesco Parisi

2011th Edition

146141640X, 978-1461416401

More Books

Students also viewed these Databases questions