JS Functions>

This example calls a function which performs a calculation, and returns the results:


My question is how to make this calculation interactive? where the two numbers are imputed and then the results are given