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 |
Long distance photography is facilitated by 1 Visible light 2 X-rays 3 Infrared rays 4 Ultraviolet rays
Why we use nhexane inplace of hexane in mobilepase preparation
Bagasse, a by-product of sugar manufacturing industry, is used for the production of 1 Nylon 2 Glass 3 Paper 4 Alcohol
Why is it necessary to cook food ?
The Contact Process is involved in the manufacture of 1 Nitric acid 2 Sulphuric acid 3 Ammonia 4 Caustic soda
The Indian variety of which of the following plant has been proved to be the greatest pollution fighter in India: 1) Tea 2) Jute 3) Mustard 4) Groundnut
Can you suppy extrusion in anodined pointed condition?
The variety of coal in which the deposit contains recognizable traces of the orginal plant material is 1 Anthracite 2 Lignite 3 Peat 4 Bitumen
Which of the following minerals has the lower numerical hardness value? 1 Talc 2 Gypsum 3 Apatite 4 Topaz
A moderator is used in nuclear reactors in order to 1 Increase the number of neutrons 2 Decrease the number of neutrons 3 Slow down the speed of neutrons 4 Accelerate the neutrons
Why sun seems to be a red colour while sun-rising and sun- setting?
Which of the following is a chemical change? 1 Rusting of iron 2 Tempering of iron 3 Melting of iron 4 Bending of iron