Codehs 2.5.8 more operations i need the assignment is let’s look at a calculator
Codehs 2.5.8 more operations i need the assignment is let’s look at a calculator class. we have a calculator class that allows us to add, subtract, multiple, and divide doubles.
in the main method, ask for two doubles. then print the sum, difference, product, and quotient.
for example, your output should look like this (you can call nextdouble twice in a row to get two numbers)