In an electric circuit, the current varies inversely as the resistance. The current is 40 amps when the resistance is 12 ohms. Find the current when the resistance is 20 ohms.