In the main method, create 3 instances or objects of Product by setting ProductName and PricePerUnit for
Question:
In the main method, create 3 instances or objects of Product by setting ProductName and PricePerUnit for each of these objects to any name and unit price of your choice. Note that the product names and corresponding price per unit for each of those three Product objects are all your choice - e.g., ProductObject1 could have a ProductName "Disposable Masks Pack" with PricePerUnit being $12.99 and so on). Note each of the three Product object corresponds to three different product names, each with its own price per unit.
Then call the UpdateProductQty method three times each time passing one of the three objects you have created. This method takes one Product object as its parameter and updates the Quantity based on user input for that Product object (e.g. method call for first Product object you have created would be UpdateProductQty(product1)). Once all product quantities have been updated, call the ChooseAction(product1, product2, product3) method that is void returning and takes as input the three Product objects you have created.
Using Microsoft Excel and Access 2016 for Accounting
ISBN: 978-1337109048
5th edition
Authors: Glenn Owen