Write a program for the decision table


Discussion:

Q: The National Earthquake Information Center has asked you to write a program for the following decision table to characterize an earthquake based on its Richter scale number.

Richter scale 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 buidings destroyed

 

Solution Preview :

Prepared by a verified Expert
Data Structure & Algorithms: Write a program for the decision table
Reference No:- TGS01931868

Now Priced at $20 (50% Discount)

Recommended (96%)

Rated (4.8/5)