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 colouring matter in plants called

2 Answers  


What is light year?

0 Answers  


‘Saponification involves the hydrolysis of fats and oils by 1 Water 2 Washing soda 3 Stearic acid 4 Caustic soda

1 Answers  


Two or more forms of a chemical element having different physical properties but rising to identical chemical compounds are called 1 Allotropes 2 Isotopes 3 Isomers 4 Isotones

2 Answers  


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.

1 Answers  






who is the first president of india ?

2 Answers   State Bank Of India SBI,


when u step up the voltage using atransformer ,,,then what about the secondary current will it be increased or decreased ?

1 Answers  


Which of the following elements is obtained from sea weeds? 1 Argon 2 Sulpur 3 Vanadium 4 Iodine

1 Answers   Argon, Iodine,


In which type of rocks re metals like gold and copper mostly found? 1 Old igneous 2 Old sedimentary 3 Old metamorphic 4 New metamorphic

3 Answers  


we know in mathematics that a matrix is an arrangement (array) of different elements , memebers . Then, how does the movie "Matrix" relate with this concept. In movie "Matrix" we have seen that it shown a war between machines & humans. And we know to operate machines we need code like 0 1 & 1 0 . How ? explain ?

0 Answers  


Give two National aims of science education

0 Answers   Mahatma Gandhi University,


Describe the evolution of science and its impact on society

0 Answers   Mahatma Gandhi University,


Categories