OK, I see you posted the assignment, but what have you done so far and what is your question?

yara hussien wrote:The book store at BZU sells five types of notebooks whose retail prices are as follows: notebook 1, $2.98; notebook 2, $4.50; notebook 3, $9.98; notebook 4, $4.49; notebook 5, $6.87 and it offers a package of all the products at $20.00 (option 6), that is, 4 $ will be added to the total of each notebook (i.e., if you bought 2 packages then 8 $ will be added to each notebook).

Your application should read the notebook number and the quantity sold.

Notes:

• Use a switch statement to determine the retail price for each notebook.

• Calculate and display the total amount ($) of all products sold.

• Let the user enter 0 to exit the loop and show the results.

Below is a sample output for the application …

Enter notebook number (1-6) (0 to stop): 5

Enter quantity sold: 3

Enter notebook number (1-6) (0 to stop): 2

Enter quantity sold: 4

Enter notebook number (1-6) (0 to stop): 6

Enter quantity sold: 2

Enter notebook number (1-6) (0 to stop): 0

notebook 1: $8.00

notebook 2: $26.00

notebook 3: $8.00

notebook 4: $8.00

notebook 5: $28.61