Question: Write clearly. Give answer in proper C++ code. If a scientist knows the wavelength of an electromagnetic wave. He or she can determine what type
Write clearly. Give answer in proper C++ code. If a scientist knows the wavelength of an electromagnetic wave. He or she can determine what type of radiation it is. Write a program that asks for the wavelength of an electromagnetic wave in meters and then displays what that wave is according to the chart/table given below. For example, a wave with a wavelength of 1E-10 meters would be an X-ray. Radio Waves wavelength greater than 1E - 2 or 1 times 10 meters Microwaves wavelength greater than 1E - 2 or 1 times 10 meters Microwaves wavelength between 1E - 3 and 7E - 7 (7 times 10) Visible light wavelength between 7E - 7 and 4E - 7 (7 times 10 and 1 times 10) Ultraviolet wavelength between 4E - 7 and 1E - 11 (1 times 10 and 1 times 10) X - Rays wavelength between 1E - 8 and 1E - 11 (1 times 10 and 1 times 10) Gamma Rays wavelength less than 1E - 11 (1 times 10)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
