Question: note : do a full programming language (coding) Write a function definition named calcTotalPrice () that should receive product grade, quantity of the product and

note : do a full programming language (coding)
Write a function definition named calcTotalPrice () that should receive product grade, quantity of the product and membership status as parameters. The function should calculate the total price depending on the grade and the quantity of the product. Member of the product is entitled to get 5% discount from the total price. The function should return the final price to the caller. Grade Price Per Unit (RM) 60.00 B 50.95 40.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
