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 |
Would you like to do a Course in MBBS in Mauritius?
Why the diesel generator suddenly increases the output voltage and avr get shorted ... And also increases the load the generator decreases the voltage why ..and also the output power in amps generated in 30 kv diesel generator ..
where the 3rd earthsummit held
In which of the following processes, is vanadium pent oxide used as a catalyst? 1 Contact process 2 Haber’s process 3 Solvay process 4 None of these
Which of the following is a chemical change? 1 Magnetization of iron 2 Melting of ice 3 Burning of sulphur 4 Melting of wax
Which of the following reactions is used for increasing the number of carbon atoms in a chain? 1 Substitution reaction 2 Wurtz reaction 3 Friedel – Crafts reaction 4 Cannizzaro’s reaction
Activity of an enzyme can be modulated by change of [a] pH [b] Light [c] Humidity [d] Rainfall
what are the advantages of interrupt and exception?
iwant to learn robotics so how can iproceed
Who is the first female cosmonaut?
Which metal is used for Galvanisation of iron?
13 Answers ncert, TCS, TNPSC Tamil Nadu Public Service Commission,
What was the code name given to the first explosion?