...

/

Challenge: Write your First Higher-Order Function

Challenge: Write your First Higher-Order Function

Test yourself and implement what you have learned so far in this chapter.

We'll cover the following...

Problem statement

You need to create a higher-order function, arithmeticCalculator, which returns the result of an arithmetic function that has two parameters of type int and returns a value of type num.

In ...