Unit #2 Homework Problem
Course Outline HW & Programming Assignments
2hw2b
Write a program, which assigns to the variable lumens the brightness of a light bulb whose power is given in Watts. Use the table and assign -1 if the value of power is not in the table.


Power in

Watts

15

25

40

60

75

100


Brightness in

Lumens

125

215

500

880

1000

1675