I want to write a function to calculate two numbers calc(num1,num2,+) like calc(5, 10, +). But I mustn\'t use char for operators.
calc(num1,num2,+)
calc(5, 10, +)