Question: The intensity of a light source is given by lightIntensity = l i g h t P o w e r a r e a

The intensity of a light source is given by lightIntensity =lightPowerareaCovered. Read double variables lightPower and
areaCovered from input, respectively. Then, compute lightIntensity using the formula. Finally, output "Light intensity is " followed
by the value of lightIntensity to five digits after the decimal point. End with a newline.
Ex: If the input is 4.05.0, then the output is:
Light intensity is 0.80000
#include
The intensity of a light source is given by

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!