Question: LAB TEST 2: DEVELOP A COMPLETE C-PROGRAMMING CODES FOR BELOW STATEMENTS AND SUBMIT WITHIN THE GIVEN TIME (3 HOURS) (10%) Popular bookstore plans to setup

 LAB TEST 2: DEVELOP A COMPLETE C-PROGRAMMING CODES FOR BELOW STATEMENTS

LAB TEST 2: DEVELOP A COMPLETE C-PROGRAMMING CODES FOR BELOW STATEMENTS AND SUBMIT WITHIN THE GIVEN TIME (3 HOURS) (10%) Popular bookstore plans to setup year end promotion for different categories of book. You are requested to design a checkout system for the bookstore. Each colour tag represents different discount: Yellow (3%), Red (6%), Blue (8%), Green (10%), White (2nd unit 50%). Your program inputs are total book to purchase, type of book category (to enable book selection), quantity needed (for selected book). The program outputs are price before discount, price after discount, total price during checkout Book type [A] [B] [C] [D] Cooking Education Animal Car Fruit Discount [O] Maggi mee Top university Monkeyking Mini car *Musang Yellow RM:14.50 RM:23.50 Qty:5 RM:34.50 King RM:14.50 RM:14.50 [1] BP tom yam MyUniLife *Taper Vintage Mango Red RM:12.50 RM:21.50 RM:15.50 RM:22.50 RM:10.50 [2] *Mee Modern school Snakes Super car Rambutan Blue tomato RM:24.50 RM:16.50 RM:35.50 RM:16.50 RM:9.50 [3] Chilli Crab School in India Squid Car 70's Star Fruit Green RM:10.50 RM:18.90 RM:18.50 RM:12 RM:15.50 [4] Curry fish Private school Spider Proton Ciku-ciku White RM:23.50 system RM:12.80 RM:19.50 RM:16.50 RM:26.50 Note: if you are a register member of Popular bookstore, you entitle for 50% discount for selected items (*)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!