Question: c++ only pls Please create related header files and cpp files strictly based on the following UML defintions. Shape -X:double -y:double In maino. 1) please
Please create related header files and cpp files strictly based on the following UML defintions. Shape -X:double -y:double In maino. 1) please create an object of Design; 2) set all necessary values to the object's attributes 3) call displayDesign. +Shape() +Shape(double double) +getXO:double +setX(double):void +getY():double +setY(double):void +displayO:void I/display xy Design Rectangle -I:double -W:double -rectangle:Rectangle -color:string +Rectangle +Rectangle(double double double double) +getL():double +setL(double):void +getwo:double +setL(double):void +displayO:void //display x.y. l.w +Design +Design(Rectangle, string) +getRectangle():Rectangle +setRectangle(Rectangle):void +getColor():string +setColor(string):void +displayDesignO:void I/display color, x,y,l,w
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
