Ohm's law

Make a class describing a resistor with the following members:

Make a program to test this class.