Objects of the Window class require a width (integer ) and a height (integer ) be specified (in that order) upon definition. Define an object named window, of type Window, whose width and length are obtained from the (already declared and initialized ) variables, w and l.

Objects of the Window class require a width (integer ) and a height (integer ) be specified (in that order) upon definition. Define an object named window, of type  Window, whose width and length are obtained from the (already declared and initialized ) variables, w and l.

LANGUAGE: C++

CHALLENGE:

Objects of the Window class require a width (integer ) and a height (integer ) be specified (in that order) upon definition. Define an object named window, of type Window, whose width and length are obtained from the (already declared and initialized ) variables, w and l.

SOLUTION:



Window window (w,l);

Add comment