/scala-exercises

This repository contains algorithms and logic exercises in Scala.

Primary LanguageScala

scala-exercises

This repository contains algorithms and logic exercises in Scala.

Utilizing the exercises

  • Open the project in your favorite IDE, go to the 'src\main\scala' folder
  • Execute the scala command (i.e.: scala Staircase.scala)
  • The terminal will wait the input, put the value and wait the result.

Example

..\scala-exercises\src\main\scala>scala Staircase.scala
> 6
     #
    ##
   ###
  ####
 #####
######