Page 1 of 1

3. Illustrate the flow of the program by Develop a program that display brightness of a standard light bulb in Lumens ba

Posted: Tue Apr 12, 2022 10:15 am
by answerhappygod
3 Illustrate The Flow Of The Program By Develop A Program That Display Brightness Of A Standard Light Bulb In Lumens Ba 1
3 Illustrate The Flow Of The Program By Develop A Program That Display Brightness Of A Standard Light Bulb In Lumens Ba 1 (39.9 KiB) Viewed 30 times
3. Illustrate the flow of the program by Develop a program that display brightness of a standard light bulb in Lumens based on Power in Watts as shown in Table 2. Table 2 Power (Watts) Brightness (Lumens) 15 125 25 215 40 500 60 880 75 1000 100 1675 Assign-1 to lumens if the value of watts is not in the table. a) Draw a flowchart for the above problem. b) Develop a complete C program to implement the above problem using if-else statement. Does the above problem can be implemented using switch statement? If yes, rewrite the program in (b) using switch statement; if not, explain why.