Need urgent help

Assalam-o-Alaikum!
Seniors i need help for a program that after
running ask for an input and when i write
as an input in one line 2+3= or different operators
like (-,*,/) and the program should give
the correct answer in the same line according to the operator
written between two numbers.
Advance thanks

example if i run a program so it should say:

Enter question:

and i write,

Enter question: 2+3=

so by pressing enter it should give answer

Enter question: 2+3=5
Topic archived. No new replies allowed.