Question: . 1 x Paint Brush Set - RM36.00 Add more item?: N a) Based on the requirement given below, prepare a flowchart for a program

 . 1 x Paint Brush Set - RM36.00 Add more item?:N a) Based on the requirement given below, prepare a flowchart for

. 1 x Paint Brush Set - RM36.00 Add more item?: N a) Based on the requirement given below, prepare a flowchart for a program develop for Paints For You Painting Shop, to calculate customer's total purchases of painting products. Set all necessary variables. Get customer's name, Ask if customer is a member of the shop If yes, ask for customer's membership ID o If customer is a member, they will get 10% discount of the total price Get item code to purchase and quantity Based on the item code, identify the item name and price. If user enter invalid item code, set item name as "Invalid Code and price is RAI0,00 Calculate the payment for the product. Calculate the total price. Display the quantity, item name, and payment of the product. Repeat as long as user wish to purchase more item. If user wish to stop purchase, calculate the total price after discount. Display the total price, discount and total price after discount. Refer to Sample Output 1 and Sample Output 2. SAMPLE OUTPUT 1: Total price Discount Total Price After Discount SAMPLE OUTPUT 2: + RM91.00 : 105 RM81.90 PAINTS FOR YOU P-1001 Boysenberry - RM55 p-1002 Pistachio Mint - RM45 P-1003 Paint Brush Set - RM36 Customer Name: James Moore Member?: N ITEM TO PURCHASE PAINTS FOR YOU Enter Item code: P-1002 Enter Quantity: 2 P-1001 Boysenberry - RM55 P-1002 Pistachio Mint - RM45 p-1003 Paint Brush Set - RM36 2 * Pistachio Mint - RM90.00 Add more item?: Y Customer Name: Marilyn Hwa Member?: Y Membership ID: MR001 Enter tem code: P-1003 Enter Quantity: 2 ITEM TO PURCHASE 2 x Paint Brush Set - RM72.00 Add more item?: N Enter Item code: P-1001 Enter Quantity: 1 : RM162.00 1 x Boysenberry - RM55.00 Total price Discount Total Price After Discount Add more item?: Y IRM262.00 Enter Item code: P-1003 Enter Quantity: 1 b) Based on the description given in (a), write the pseudocode . . 1 x Paint Brush Set - RM36.00 Add more Item?: N a) Based on the requirement given below, prepare a flowchart for a program develop for Paints For You Painting Shop, to calculate customer's total purchases of painting products. Set all necessary variables. Get customer's name: Ask if customer is a member of the shop o If yes, ask for customer's membership ID o If customer is a member, they will get 10% discount of the total price Get item code to purchase and quantity Based on the item code, identify the item name and price. o If user enter invalid item code, set item name as "Invalid Code and price is RA0 Calculate the payment for the product, Calculate the total price. Display the quantity, item name, and payment of the product. Repeat as long as user wish to purchase more item. If user wish to stop purchase, calculate the total price after discount. Display the total price, discount and total price after discount. Refer to Sample Output 1 and Sample Output 2. SAMPLE OUTPUT 1: Total price Discount Total Price After Discount SAMPLE OUTPUT 2: : RM91.00 : 105 RM81.99 PAINTS FOR YOU ....... p-1001 Boysenberry - RMSS P-1002 Pistachio Mint - RM45 P-1003 Paint Brush Set - RM36 Customer Name: James Moore Member: N ITEM TO PURCHASE PAINTS FOR YOU Enter Item code: P-1002 Enter Quantity: 2 2 x Pistachio Mint - RM90.00 P-1001 Boysenberry - RM55 P-1002 Pistachio Mint - RM45 P-1003 Paint Brush Set - RM36 Add more Item?: Y Customer Name: Marilyn Hwa Member?: Y Membership ID: MH001 Enter Ttem code: p-1003 Enter Quantity: 2 2 2 x Paint Brush Set - RM72.00 Add more Item?: N ITEM TO PURCHASE Enter Item code: P-1001 Enter Quantity: 1 1 x Boysenberry - RM55.00 Add more item?: Y Total price Discount Total Price After Discount : RM162.00 : 04 RM162.00 Enter Item code: P-1003 Enter Quantity: 1 b) Based on the description given in (a), write the pseudocode 1

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!