#algorithms
Read more stories on Hashnode
Articles with this tag
Process create a file named hollow_pyramid.ex write the code hollow_pyramid = fn number -> for i <- 1..number do # for printing spaces ...
Process create a file named reverse_pyramid.ex write the code reverse_pyramid = fn number -> for i <- 0..number do # for printing spaces ...
Process create a file named pyramid.ex write the code pyramid = fn number -> for i <- 1..number do # for printing spaces spaces = ...
Process create a file named hollow_triangle.ex write the code hollow_triangle = fn number -> for i <- 1..number do for j when j < i <- 0..i...
Process create a file named left_triangle.ex write the code left_triangle = fn n -> for i <- 0..n do for _ <- 0..i do "*" end end ...