Question: #ifndet BOX #define BOXH const int MINIMUMSIZE=1; 1/ Minsize const int MAXIMUMSIZE=30; // MaxSize const int DEFAULTSIZE=1; // Default size const char DEFAULTBORDER1/ Defautt border





#ifndet BOX #define BOXH const int MINIMUMSIZE=1; 1/ Minsize const int MAXIMUMSIZE=30; // MaxSize const int DEFAULTSIZE=1; // Default size const char DEFAULTBORDER1/ Defautt border const char DEFAULTEILLE W default filt const char MINIMURICHAR'I Minimun char const char MAXIMUMCHAR W Maximum char do namespace Box class box public Box Default constructor BOX S. char bECEFAULTBORDER, char t-DEFAULTFILL) BOX BOKA) Box & operator const Box s b). Box char Getorder chart int Getsiz) void settorder const char b) void setfit! const chart) void setsie const int ) int Gatherine int Getarea void grow Volds w : rivate O words > p 2 pts Question 18 The following question will reference the box h file attached to this test. Assume you have a main routine and you are using the Box class. Write the single line of code to declare objects of type Box in accordance to the specifications below: Declare a Box object called MyBox2 with size 1, border of "%, and fill of '@ Edit View Insert Format Tools Table 12pt Paragraph e 72 O words 2 pts Question 19 The following question will reference the box.h file attached to this test. Assume you have a main routine and you are using the Box class. Write the single line of code to declare objects of type Box in accordance to the specifications below: Declare a Bax object called MyBox3 with size 39, border of 'Aand no fill character ( let it default). Edit View Insert Format Tools Table 12ptParagraph B IU : O words 2 pts Question 20 The following question will reference the box.h file attached to this test. Assume you have a main routine and you are using the Box class. Write the single line of code to declare objects of type Box in accordance to the specifications below: Declare a Box object called MyBox4 with size 10 with no border and no fill (let them default). Edit View insert Format Tools Table 12pt Paragraph B IU A 2 Tv indir 2 pts Question 21 The following question will reference the box h file attached to this test. Assume you have a main routine and you are using the Box class. Write the single line of code to declare objects of type Box in accordance to the specifications below: Declare a Box object called MyBox" with no parameters (default constructor). Edit View Insert Format Tools Table 12pt Paragraph BIVALT I I O words
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
