Categorize the damage caused by an earthquake given its Richter scale intensity
What will be an ideal response?
```
int main()
{
double rnumber;
cout << "Enter a Richter Scale Number: ";
cin << rnumber;
if( rnumber <= 6.5)
cout << " Catastrophe: most buildings destroyed.";
else if( rnumber <= 6.0)
cout << "Disaster: houses and buildings may collapse.";
else if( rnumber <= 5.5)
cout << " Serious damage: walls may crack or fall.";
else if( rnumber <= 5.0)
cout << " Some damage.";;
else
cout << " Little or no damage.";
return 0;
}
```
You might also like to view...
The subscript and superscript styles lower or raise text vertically, as well as resize it.
Answer the following statement true (T) or false (F)
The ultimate goal of risk management is to reduce all risk to a level acceptable to the organization
Indicate whether the statement is true or false
What are some of the malwares employed by terrorists, hacktivists, corporate spies, criminals, and pleasure seekers?
What will be an ideal response?
A(n) ________ is a series of actions that can be programmed to automate tasks.
Fill in the blank(s) with the appropriate word(s).