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
When and where was the first experimental atomic explosion took place?
Which are the units of functioning in vssc?
how longs & what conditions will a matter, say for example U, after an atomic explosion and was converted completely into energy will again condensed back into a matter named U'
Which is the regulatory authority of atomic energy in india?
The year in which magnetic observations were started in mumbai and thiruvananthapuram?
hai am ashok am studying degree 1st year.i want to write group 1 exams how i am started my preparation.which meterial is best for exam.what are the subjects have it.how much time can i spend to study dialy to get it in first attempt.how much money we need.for this exam degree qualification must to need .NCC c-certificate how use for this exam. what is the best coaching centre in hyd near to khairathabad.plz tell me
NO OF PLANT IN ONGC
What is voltage? ?? What type of of show voltage. ?? Practillay how's voltage?
what the defference from anti virus and spyware and adware also? Please descript?
Dear Sir I have got through cable size calculation 10 sq mm cable size of one panel, how i be sure that used cable is 10sqmm. a) By measuring each strand of cpper & multilpy by pye and so on...... or By measuring any one cable core with insulation only.
Why we use nhexane inplace of hexane in mobilepase preparation
Please can someone tell me, how many times during a 12 hour period, do the hands of a clock face opposite each other? I believe its 11. Also, would this be the same, no matter WHAT the starting time? i.e. if the 12 hour period started at 6 o clock, would it still be 11 times? Many thanks for your help.
Name the scientist who has been invited by the Srilankan Governement to have a Study on Employment development?
How can i describe the blood?
is the big bang theory correct, because as I wondered the explosion is too powerful that no one could survive after galaxies were created no life exist on it after the 3.5 billion years life exist so... my question is were is the life came from?