Define a Calculatorclass for which the calculator functions from §6.1 provide most of the implementation. Create Calculators and invoke them for input from cin, from command-line arguments, and for strings in the program. Allow output to be delivered to a variety of targets similar to the way input can be obtained from a variety of sources.