Write a program with a Math
class that has four methods:
Add
, Subtract
, Multiply
, and Divide
, each of which takes two
parameters. Call each method from Main( )
.
Modify the program from Exercise 7-1 so that you do not have
to create an instance of Math
to call the four methods.