Sollicitatievraag bij Airwallex

How do you implement a code which calculates a value based on some inputs.