Question: write code in java ee eclipse:- Create a class of Product: with product name, price, discount rate create its constructor, setters, and getters. Then create
write code in java ee eclipse:-
Create a class of Product: with product name, price, discount rate create its constructor, setters, and getters.
Then create a linked list fill it with product objects Let the user enter names, prices of products, the discount rate for each as many products as they want
Then do the following: 1. Find the average of all prices 2. Find the name of the most expensive product 3. Let the user enter a product name, then search if exists print its price, and ask the user to enter the required quantity and find the total. But don't forget to apply the discount upon the discount rate of that product
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
