Challenge: Write your First Higher-Order Function
Test yourself and implement what you have learned so far in this challenge.
Problem Statement
You need to create a higher-order function arithmeticPrinter
which prints the result of an arithmetic function that has two parameters of type Int
and returns a value of type Int
.
In this challenge, you will assume ...