BOX The program should be able to create (instantiate) three types of boxes . Th
ID: 3859552 • Letter: B
Question
BOX
The program should be able to create (instantiate) three types of boxes. The first box would use the default constructor. The second box would be a cube and only need one parameter. The third box would be a rectangular solid and you will send in three parameters to the constructor
You should be able to perform the following calculations on your box: surface area of the entire box and volume. Furthermore, you should be able to make your box larger and smaller in the following two different ways:
Be sure to include methods for the following tasks:
Demonstrate that your program works properly. You will need to test all of the constructors and all of the methods in your class. Display all results to two decimal places.
Input and output should be done with Dialog and Message boxes. Your program should be well documented internally and externally.
Explanation / Answer
Sorry for delay i will update answer within one hour due to network issues i not able to update answer.Plz understand my problem.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.