Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

java 3 Afactory manufactures electricity Larops, all of which are tested to find their lamp lighting Level. Lamps are classified as either High Quality or

java image text in transcribed
3 Afactory manufactures electricity Larops, all of which are tested to find their lamp lighting Level. Lamps are classified as either High Quality or Low Quality as follows SAMPLE INPUT/OUTPUT Enter Lighting levels (negative to stop) 65 90 45 35 121 Average of High Quality Lamps = 77.5 High Quality Lamps - 2 Low Quality Lamps = 3 Lighting Level Ir greater than 50 Otherwise Lamp Quality High Quality Low Quality Write a program that asks the user to enter the Lighting Level of several lamps until the user enters negative lighting level to quit. The program should find and display: (a) The average Lighting Level for High Quality lamps. ib) The number of High Quality lamps (b) The number of Low Quality lamps ! TH th

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Time Series Databases New Ways To Store And Access Data

Authors: Ted Dunning, Ellen Friedman

1st Edition

1491914726, 978-1491914724

More Books

Students also viewed these Databases questions

Question

Provide examples of KPIs in Human Capital Management.

Answered: 1 week ago

Question

What are OLAP Cubes?

Answered: 1 week ago