You are calling the
ProcessAndDisplayNumber
method which is in a separate class.
Create an instance of the
MathOperations
class and then call this method using this instance.
Something like -
MathOperations objOperations = new MathOperations();
objOperations.ProcessAndDisplayNumber(operations, 1.414);