Question: JAVA PROGRAM ... A factory manufactures electricity lamps, all of which SAMPLE INPUT/OUTPUT are tested to find their lamp Lighting Level. Lamps are Enter Lighting

JAVA PROGRAM JAVA PROGRAM ... A factory manufactures electricity lamps, all of which SAMPLE

... A factory manufactures electricity lamps, all of which SAMPLE INPUT/OUTPUT are tested to find their lamp Lighting Level. Lamps are Enter Lighting levels (negative to stop) classified as either High Quality or Low Quality as 65 90 45 35 12 -1 follows: Average of High Quality Lamps = 77.5 High Quality Lamps = 2 Lighting Level Lamp Quality Low Quality Lamps = 3 If greater than 50 High Quality Otherwise Low Quality Write a program that asks the user to enter the Lighting Level of several lams until the user enters negative lighting level to quit. The program should find and display: (a) The average Lighting Level for High Quality lamps. (b) The number of High Quality lamps. (b) The number of Low Quality lamps

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 Databases Questions!