This is an exercise in JavaScript to build a program that allows user to enter data about products.
A product will have the following attributes
- Product Id
- Product Name
- Ideal Price (To be calculated)
- User to select a product and submit an ideal price for that product.
Each user can enter a price for a product. Since multiple users are assumed to be using this application. The ideal price will be submitted by each user. The formula to calculate ideal price is to leave the 2 highest and 2 lowest ideal prices submitted by the user and taking an average of the rest of the submitted prices.