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 ≤ n <
5.5
Some damage
5.5 ≤ n <
6.5
Serious damage: walls may crack or fall
6.5 ≤ 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.
Answer / prince
no need of changing that we know that this ranges produce
damages
| Is This Answer Correct ? | 1 Yes | 5 No |
Which is the research reactors of bhabha atomic research centre?
any one who has interviewed at noida for SBI clerk i have my interview call on 23.10.2008
The gases used in different types of welding would include 1 Oxygen and hydrogen 2 Oxygen, acetylene and argon 3 Oxygen and acetylene 4 None of these
What is one light minute?
Water is a compound because 1 It exists as a solid, a liquid or a gas 2 It contains hydrogen and oxygen 3 It contains two different elements joined by chemical bonds 4 It cannot be split up into simpler substances by chemical means
Which of the following is in liquid form at room temperature? 1 Cerium 2 Sodium 3 Francium 4 Lithium
Which synthetic fiber possesses a ‘drip-dry’ property? 1 Rayon 2 Nylon 3 Silk 4 Terylene
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 characteristics is not-shown by hydrogen? 1 It burns in air to form water 2 It supports combustion 3 It combines with almost all the metals forming hydrides 4 None of these
what are the advantages and disadvantages of empirical knowledge?
WHAT IS AMBER
Which of the following minerals has the lower numerical hardness value? 1 Talc 2 Gypsum 3 Apatite 4 Topaz