Question: In Erlang, create function findCeiling that takes a list of numbers and returns the modified list constructed by applying the function ceiling to each incoming

In Erlang, create function findCeiling that takes a list of numbers and returns the modified list constructed by applying the function ceiling to each incoming list element. For example, if original list contains [1.9, 2.1, 3.5] , then the resulting list will contain [2.0, 3.0, 4.0]; you are NOT allowed to use ++ or built-in functions or list comprehension (you should use the cons operator | to build the new list; you are allowed to use math:ceil though).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!