Define a class Point with a constructor public Point(double x, double y) and accessor methods getX,getY. Design and implement a toString method for this class.

Define an abstract class shape with an instance variable of class Point, a constructor, a concrete method public void moeveBy(double dx, double dy) that moves the point by the given amount, and an abstract method public Point getCenter().Provide concrete subclasses Circle,Rectangle.Line,Square with constructors public Circle(Point center, double radius),public Rectangle(Point topLeft,double width, double height), public square(point topLeft, double side) and public Line(Point from, Point to). For each subclass, implement getCenter and toString(), which will print all details fo the shape plus  the coordinates of its center point.

Supply a tester class called TestShapes that implements aPoint, and an array of Shape and insert into the array, one of each kind of shape subclass. Use a loop to call the toString method of each shape in the array. Now use a llop to ask the user for the coordinates fo a point and move each shape in the array by a different amount, next use a loop to print out the polymorphic array.

A local department store hires you to write an automated checkout program to expedite customers in a hurry. The checkout line can only accept five items for any one purchase. Design a program that asks for the price of each item, and then displays the subtotal of the sale, the amount of the sales tax and the total. The sales tax is 6 percent.

Submit your C++ source code that you generated from RAPTOR with comments added to each line or where necessary to explain program flow.  Also submit the RAPTOR file (flowchart) of your working program.Make sure you run it to make sure it is error free and does what it is supposed to.

You can use the generate dropdown to create example C++ code based on your working logical flow chart to see what the code would look like.

Remember to follow the guidelines of good program design. Make sure to use meaningful variable names and include comments as needed