Power Calculator

Published by Deep Xavier in

Create a function that takes voltage and current and returns the calculated power.

Examples

power(230, 10) ➞ 2300

power(110, 3) ➞ 330

power(480, 20) ➞ 9600

Notes

N/A

Watch a quick demo on how Edabit works.