Open OjusWiZard opened 4 years ago
This program takes two integers for the width and height of the Pattern, and then print the Spiral pattern with animation as if a snake is moving.
Example
The Pattern occupies the height and width as given as an input, and the pattern-line always remains one unit away from itself.
This program takes two integers for the width and height of the Pattern, and then print the Spiral pattern with animation as if a snake is moving.
Example
The Pattern occupies the height and width as given as an input, and the pattern-line always remains one unit away from itself.