The National Earthquake Information Center has asked you to
write a program implementing the following decision table
to characterize an earthquake based on its Richter scale
number.

Richter Scale Number (n)
Characterization
n <
5.0
Little or no damage

5.0 &#8804; n <
5.5
Some damage

5.5 &#8804; n <
6.5
Serious damage: walls may crack or fall

6.5 &#8804; n <
7.5
Disaster: houses and buildings may collapse

Higher
Catastrophe: most buildings destroyed

Could you handle this problem with a switch statement? If
so use a switch statement; if not explain why.



The National Earthquake Information Center has asked you to write a program implementing the follo..

Answer / prince

no need of changing that we know that this ranges produce
damages

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More General Science Interview Questions

What is the wavelength of visible spectrum? 1 1300A-3000A 2 3900A-7600A 3 7800A-8000A 4 8500A-9800A

1 Answers  


Who discovered radio telescope?

0 Answers  


Let arr be an array of 20 integers. Write a program that first fills the array with up to 20 input values and then finds and displays both the subscript of the largest item in arr and the value of the largest item. • Use an IDE to develop and save your work

0 Answers  


What is the Ecology ?

1 Answers  


Which one of the following is the petroleum wax? 1 Bees wax 2 Carnauba wax 3 Paraffin wax 4 Jojoba wax

1 Answers  






Atoms of an element differ from those of all other elements in 1 Atomic number and electronic configuration 2 Atomic number and number of valence electrons 3 Number of neutrons and electronic configuration 4 None of these

2 Answers  


Which of the following fertilizers leaves acidic residue? 1 Urea 2 Ammonium phosphate 3 Ammonium sulphate 4 None of these

1 Answers  


What are pulsars?

0 Answers  


The element found on the surface of the moon is 1 Tin 2 Tungsten 3 Tantalum 4 Titanium

4 Answers   RRB,


Which of the following gases is not known as green house gas? 1 Carbon dioxide 2 Methane 3 Nitruous oxide 4 Hydrogen

4 Answers   ACIO, Infosys, ptet,


Which of the following metals is a better conductor of electricity? A. Silver B. Copper

0 Answers  


why ammonia cylinder getting icing outside of cylinder when it approx half or less than it...??

0 Answers  


Categories