Question: For Matlab Programming 2. Create a class PriceClass that has a property for the price of an item in a store and the sales tax
2. Create a class PriceClass that has a property for the price of an item in a store and the sales tax rate of the item. Make sure that there is a default value for the price and the sales tax rate, either in the properties block or in the constructor function. Also, write an ordinary method to calculate the total price of the item, including the tax. (Note: Instantiate an object of your class and use the methods and properties functions)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
