Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions