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

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

1 Answers   Argon, Iodine,


Which of the following is the basis of modern periodic table? 1 Atomic mass 2 Atomic number 3 Atomic size 4 Atomic volume

1 Answers  


Which gas is used for preparation of soda water? 1 Ammonia 2 carbon dioxide 3 Hydrogen 4 Nitric oxide

7 Answers   BSNL, Reliance,


Who is the first female cosmonaut?

0 Answers  


Which is the regulatory authority of atomic energy in india?

0 Answers  






Why is ice wrapped in gunny sacks to prevent it from melting

0 Answers  


What is light year?

0 Answers  


What is super nova?

0 Answers  


Which of the following is used to coagulate synthetic fibers from solution? 1 Hydrochloric acid 2 Sulphuric acid 3 Nitric acid 4 None of these

1 Answers  


0.005M K2Cr2O7 solution for calibration of UV.why 0.005M K2Cr2O7?

1 Answers  


different types of satellite?

3 Answers   ISRO,


What would happen had there been no chlorophyll in the green leaves?

1 Answers  


Categories