Project
In the program submitted, we have made a scientific calculator using java oops concepts. In the class calculator, we have separate functions for all twenty operations with return type as double. In the calculate() function , we ask the user for his choice of the operation and then call the appropriate function as per chpoice. We also have the main function where we have created the object for the calculator class and then call the calculate function in an infinite loop for the user to keep entering the choices again and again. We also have a print function to print the answer in console. The calculations ar written in the “CalculationsHistory.txt" file.