Question: Write a Java program to do the following: Specifics: a . Implement a Java class enabling users to input multiple products prices until they input

Write a Java program to do the following:
Specifics:
a. Implement a Java class enabling users to input multiple products prices until they input the sentinel value 9999. If a product price falls outside the range of 0 to $1000, provide a relevant message and disregard the price. Upon completion of price input, display the count of product prices entered less than $100, the highest price, the lowest price, and the arithmetic average. Save this file as ProductPrice.java.
b. Develop an application/project called ProductPriceTest.java with a main method and an instance to utilize the ProductPrice class. Test1-P1 Question (40 points): Write a Java program to do the following:
Specifics:
a. Implement a Java class enabling users to input multiple products prices until they input the sentinel value 9999. If a product price falls outside the range of 0 to \(\$ 1000\), provide a relevant message and disregard the price. Upon completion of price input, display the count of product prices entered less than \(\$ 100\), the highest price, the lowest price, and the arithmetic average. Save this file as ProductPrice.java.
b. Develop an application/project called ProductPriceTest.java with a main method and an instance to utilize the ProductPrice class.
Write a Java program to do the following:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!