Question: Write in C++ Do the following problem. For assignment submission, use the format listed in the syllabus. Use comments in your code (3 points will
Write in C++

Do the following problem. For assignment submission, use the format listed in the syllabus. Use comments in your code (3 points will be deducted from each problem missing comments) Define an exception class called tornadoException. The class should have two constructors, including the default constructor. If the exception is thrown with the default constructor, the method what should return "Tornado: Take cover immediately!" The other constructor has a single parameter, say, m, of the int type. If the exception is thrown with this constructor, the method what should return "Tornado: m miles away, and approaching!" Write a C++ program to test the class tornadoException
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
