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
What is used in arihant’s atomic reactor?
Where is the biggest solar telescope in india situated?
How can we calculate %difference in Weighing balance?
In modern science, what is 'fourth dimension'?
if appointed at aryabhatt school for how long should we expect you work with us
The country helped in arihant’s built?
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
When was the administration control of terls enstrusted to physcial research laboratory, ahmedabad?
Where did the largest reflector telescope situated?
Who is the first female cosmonaut?
List out the General Objectives of teaching Physical science at Primary stages.
Write about recreational function of Science
Arihant was commissioned on which day?
In which year, atmospheric observations using balloons started?
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.