Skip to content

AlecKotovichSAM/christmastree

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

christmastree

Correct works under Ubuntu 12.04, 16.04, Java HotSpot(TM) 1.6.0_45, 1.8.0_102

Christmas tree in pure JAVA and console.

          *      
         '~.     
        .~'O'    
       ~..~'O'   
      ~..~'O'~.  
     .~'O'~..~'O 
    '~..~'O'~..~'
         |~|     

Usage :

mvn clean install

cd target

java -cp christmastree-1.0-SNAPSHOT.jar com.sam_solutions.christmastree.Main 6

where 6 - is tree height will output christmas tree like above

Test push

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%