Question
If a scientist knows the wavelength of an electromagnetic wave, she can determine what type of radiation it is. Write a program that asks for
If a scientist knows the wavelength of an electromagnetic wave, she can determine what type of radiation it is. Write a program that asks for the wavelength in meters of an electromagnetic wave and then displays what that wave is according to the following chart . (For example, a wave with a wavelength of lE -10 meters would be an X-ray.) 1 X 10-11 1 X 10-8 4 X 10-7 7 X 10-7 1 X 10-3 1 X 10-2 I I I I I I I Gamma Rays /X-rays I I I I I I I I I I I I I I I I I I I I I I I I I I / Ultraviolet / visible Light / Infrared / Microwaves / Radio Waves
- prompt the user for the input data at the keyboard.
- use prompt message(s) to have the user enter the data
- set up correct formulas to process the input data, arriving at the output data
- provide the output data asked for within the problem statement to the user
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started