Write a C++ program that will create a list of axis-aligned rectangles defined i
ID: 3659081 • Letter: W
Question
Write a C++ program that will create a list of axis-aligned rectangles defined in a 2D space,
i.e. the x-y space. An axis-aligned rectangle has two vertical sides (left and right) that
are parallel to the y-axis and two horizontal sides (top and bottom) that are parallel to
the x-axis.
Each rectangle is defined by the(x, y) location of its bottom left corner, its length (along the x-axis),
and its height (along the y-axis). In your program, each rectangle will also have its own unique name. After
the description of each rectangle is input from the user and stored in a list (vector of class
Rectangle), your program will compute each rectangle's area, perimeter, and midpoint. In
addition, you will scale each rectangle by a factor of 2 about its midpoint. Please use/complete the template
Explanation / Answer
so did you find the answer to this because I'm looking for the same thing
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.