Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please add comment in coding too Food Active Sdn Bhd is a snake wholesaler in Johor. The management wants to develop a simple program to
Please add comment in coding too
Food Active Sdn Bhd is a snake wholesaler in Johor. The management wants to develop a simple program to help its distributors to calculate the wholesale price. Refer to the table below for details: Product code Quantity Wholesale price (RM) Minimum order 2.0 AA 1.5 10 10-50 pcs 51-100 pcs More than 100 pcs 20-50 pcs 1.0 5.0 BB 20 More than 50 pcs 4.0 Note: an additional 6% for government Service Tax (GST) will be charged. Write complete C++ program to perform the following task: Prompt the user to enter the product code and quantity. Display an error message if the user entered an invalid code or if the quantity fails to meet the minimum number of orders Display product code, quantity and total price after GSTStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started