Create a new function in your program called arcthat will draw an arc of a specified color, and
optionally fill it. Your function should take the following parameters:
○ (int) The x coordinate of the center of the arc’s circle
○ (int) The y coordinate of the center of the arc’s circle
○ (int) The radius of the arc’s circle
○ (double) the starting angle, in radians, measured from the circle’s 3 o’clock position
○ (double) the ending angle, in radians, measured from the circle’s 3 o’clock position
○ (int) A boolean, ‘isAnticlockwise’, that indicates whether the arc is drawn from the starting
angle to the ending angle in a clockwise (if zero) or anticlockwise (if non­zero) direction
○ (int) A boolean, ‘isFilled’, which indicates whether the circle should be filled or unfilled
○ (int) A boolean, ‘isDark’, which indicates the color of the circle (true=blue, false=cyan)
● Be sure that you provide function documentation above the function, that describes the
parameters, and good comments within the function, describing what your code is doing. Refer to
the circlefunction for an example.