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 Posted / prince
no need of changing that we know that this ranges produce
damages
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
Which are the units of functioning in vssc?
What are nebulae?
BARC CHIF
A team of u.n scientists visited thumba?
Define science
what would be the fate of life on earth 10 yrs down the lane.
What is a nuclear triad?
exactly how does an RTD 3 wire or 4 wire device cancel out the resistance of the wires , opposed to a 2 wire RTD? Is it because you have resistors in parallel , or because something to do with the electronic circuit the RTD is connected to ?
When a person sends a message to someone with the Internet, there are steps that happen to the recipient to receive the message. How does the recipient know that the message was not edited by someone else?
Terls was dedicated to u.n as an international institution?
What is the speed of arihant?
Why capacitor is not allow dc ?? What the reason?
Who is the oldest cosmonaut?
Why we use nhexane inplace of hexane in mobilepase preparation
name all the density all cloth,metals,materials?