Description
Please look at the attached document for instructions, and please don’t use outside sources just what’s mentioned and provided.
Unformatted Attachment Preview
CSS343 Data Structures, Algorithms, and Discrete Mathematics II
Assignment 1: Turtle Program
Turtle Graphics as part of [Logo] (https://en.wikipedia.org/wiki/Logo_(programming_language) was one of the first
languages explicitly designed for teaching beginning programming.
A TurtleProgram is a set of instructions directing the on-screen turtle to draw graphics. To draw a square, one would
execute:
Forward 10 Right 90 Forward 10 Right 90 Forward 10 Right 90 Forward 10 Right 90
To practice dynamically allocated arrays and operator overloading, create a TurtleProgram class that supports the
following functionality. For simplicity, use “F” instead of “Forward” and “R” instead of “Right”.
1.
2.
3.
4.
5.
6.
Constructors and destructor
Overload
Purchase answer to see full
attachment