Skip to content

hotwebmatter/AsciiShapes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AsciiShapes

Ninth programming exercise for C# class.

Not actually assigned by professor, just based on exercise in textbook.

Menu based on HolaMundo exercise.

Note that the algorithmic solution, like the algorithmic AsciiX, requires a large console to display correctly at higher widths.

Example output

Choose an option:
1 = ASCII Art Shapes
2 = Algorithmic Shapes

To exit, press 0 (zero) key.



1
Generating ASCII Art Shapes ...

*********             *              *
*********            ***            ***
*********           *****          *****
*********          *******        *******
*********         *********      *********
*********        ***********      *******
*********       *************      *****
*********      ***************      ***
*********     *****************      *

Press any key to return to menu.

Choose an option:
1 = ASCII Art Shapes
2 = Algorithmic Shapes

To exit, press 0 (zero) key.

2
Generating Algorithmic Shapes ...
Enter desired width of shapes:
9
The desired width is 9.

*********             *                *
*********            ***              ***
*********           *****            *****
*********          *******          *******
*********         *********        *********
*********        ***********        *******
*********       *************        *****
*********      ***************        ***
*********     *****************        *
Press any key to return to menu.

Choose an option:
1 = ASCII Art Shapes
2 = Algorithmic Shapes

To exit, press 0 (zero) key.


Generating Algorithmic Shapes ...
Enter desired width of shapes:
33
The desired width is 33.

*********************************                                     *                                                                *
*********************************                                    ***                                                              ***
*********************************                                   *****                                                            *****
*********************************                                  *******                                                          *******
*********************************                                 *********                                                        *********
*********************************                                ***********                                                      ***********
*********************************                               *************                                                    *************
*********************************                              ***************                                                  ***************
*********************************                             *****************                                                *****************
*********************************                            *******************                                              *******************
*********************************                           *********************                                            *********************
*********************************                          ***********************                                          ***********************
*********************************                         *************************                                        *************************
*********************************                        ***************************                                      ***************************
*********************************                       *****************************                                    *****************************
*********************************                      *******************************                                  *******************************
*********************************                     *********************************                                *********************************
*********************************                    ***********************************                                *******************************
*********************************                   *************************************                                *****************************
*********************************                  ***************************************                                ***************************
*********************************                 *****************************************                                *************************
*********************************                *******************************************                                ***********************
*********************************               *********************************************                                *********************
*********************************              ***********************************************                                *******************
*********************************             *************************************************                                *****************
*********************************            ***************************************************                                ***************
*********************************           *****************************************************                                *************
*********************************          *******************************************************                                ***********
*********************************         *********************************************************                                *********
*********************************        ***********************************************************                                *******
*********************************       *************************************************************                                *****
*********************************      ***************************************************************                                ***
*********************************     *****************************************************************                                *
Press any key to return to menu.

About

Ninth programming exercise for C# class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages