I am currently creating a simple calculator program and have run across an issue with this line of code:
var n1 = readInt("Enter the First Number in Equation ");
var op1 = readLine("Enter the first operator ]");
var n2 = readInt("Enter the Second Number in the Equation ");
var op2 = readLine("Enter the Second Operator ");
var n3 = readInt("Enter the Third Number in the Equation ");
The application gives me a "SyntaxError: Unexpected end of input" and cites the line right after the previously shown code. Is there any issues with the given code? Or am I missing something else?
I think that the problem is in this "]":
var op1 = readLine("Enter the first operator ]");
Delete it and try.