what does the " t - " mean?
Neither you read “x” nor “ans”, so what do you expect ?
I mean, you don’t have to read the “x” but what with the “ans” ?
I see you read the numbers in the function “fun”, so you should run this function without any argument
like this :
x = fun();
if you expect that fun(); will return something, because i don’t see it in your code.
Example of function that returns something:
x = function();
//what could possibly go wrong ?