Assume a class Window with a constructor that accepts two integer arguments: width and height (in that order). Declare an array named winarr, consisting of 3 Window objects, where the first element is an 80x20 window, the second a 10x10 window, and the third a 133x40 window.
.
.
Click on the title for the solution
.
.
.
Click on the title for the solution
.
.
This is the answer:
:
Window winarr[] ={Window(80,20),
Window(10,10),
Window(133,40)};
Comments
Post a Comment