Question: Write a C++ nested if ... else ... statement that determines the number of free books to give to a customer based on the following

Write a C++ nested if ... else ... statement that determines the number of free books to give to a customer based on the following description. There are two type of customers, premium and regular. Premium customers are offered 1 free book with every purchase of books ranging from 5 to 7 , and the bookstore offers premium customers 2 free books with every purchase of 8 or more books. It offers regular customers 1 free book with every purchase of books ranging from 7 to 11, and it offers regular customers 2 free books with every purchase of 12 or more books
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
