[C-prog-lang-l] mountain art competition

Jan Pechanec jp at devnull.cz
Thu Mar 14 16:46:09 CET 2019


On Thu, 14 Mar 2019, Peter G wrote:

>Hello,
>
>I have used two functions. One for the printing the mountain and 
>second for filling the columns of the array. I also added mountain 
>snow caps, which are generated above certain height level.

Beautiful!  I really like the snow caps :-)

J.

>
>I put the code on GitHub. It can be found there: 
>https://github.com/peter-grajcar/the-c-programming-language/blob/master/src/mountains.c 
><https://github.com/peter-grajcar/the-c-programming-language/blob/master/src/mountains.c>
>
>As an example I attached picture of my mountains.
>
>Regards,
>Peter Grajcar
>
>.

-- 
Jan Pechanec <jp (at) devnull (dot) cz>
http://www.devnull.cz


More information about the c-prog-lang-l mailing list