Write calculator program that keep reading operations and double numbers from user, and print the result based on the chosen operation using while loop. The loop must stop if the user enters Q letter.
NOTE: no need to write two classes.
Typical run of the program:
Enter an operation(+,-,*,/), Q to quit: +
Enter your first number: 6
Enter your second number: 5
Result= 11.0
Enter an operation(+,-,*,/), Q to quit: *
Enter your first number: 5
Enter your second number: 5
Result= 25.0
Enter an operation(+,-,*,/), Q to quit: q
You calculator has been ended!