Given a table of prices according to the type of dates. Request the type of dates, grade, and amount (in kilograms) and calculate the price to be paid by the customer. If the price is more than RM200, the customer is entitled to receive a 20% discount. Use a combination of both if-else and switch structures to solve the problem. Display price, price after discount (if applicable), and suitable error message if the value entered by the user is wrong or not in the options available.
Are You Searching Answer of this Question? Request Malaysian Writers to Write a plagiarism Free Copy for You.
The postappeared first on .