“Write duplicar(N) -> N * 2. and test it with duplicar(38).”
Exercise 5 of 10 from the Erlang programming practice. This exercise was performed on an Ubuntu EC2 instance in AWS Academy, using the Erlang interactive shell (erl). It demonstrates how to create a simple function that doubles a number and test it using the value 38.