fb pixel

2D Mountains

In the computer game the company develops, the next thing they want to model is a simple background for one of the scenes. It contains gorgeous two mountains.
As the resources are limited, they would like to model those mountains as a collection of * symbols.
Your task is to write a program that would print the following mountains:
      *
     ***
    ******    *
   ********  ***
  ****************
 ******************
********************
 
To check your solution you need to sign in
Sign in to continue