|
Description
In this example we build
a simple ohms law calculator , the
user chooses which calculation they
want and enter the information they
know . For example if we had 2 amps
and 1000 ohms of resistance then by
ohms law we would have 2000 volts
. Since voltage is equal to current
times resistance.
Code
In the file below.
Information
tested using Visual
C++ and Windows XP
|