Question: Programming Language C++: Create a class named MessageClass with the following attributes: A. A public method called MessageBox that accepts three parameters: String, integer, and

Programming Language C++:

Create a class named MessageClass with the following attributes:

A. A public method called MessageBox that accepts three parameters: String, integer, and string. Hint: Don't forget to include the three lines:

#include #include using namespace std;

in MessageClass.h just above the class definition.

B. Include 4 constants of type int in the header file that define Bonk, Question, Information and Wink so that main() can reference them in the call toMessageBox().
C. Create, initialize and use an array that holds the four emphasis characters, !, ?, i, and ; that align with the constants in Step B and the integer passed into theMessageBox() function.
D.

In the code section of the MessageBox() method, create code that reproduces the following results:

Programming Language C++: Create a class named MessageClass with the following attributes:

? Why ??????????????????????????????? ? Why did the chicken cross the road ? Because iiiiiiiiiiiiiiii 11 Because 11111111111111111 i To get to the other side i ; Thank you ; That is all ; Press any key to continue *^

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!