Question:3. Write a program to determine how long, in units of seconds,
it will take a...
Question
3. Write a program to determine how long, in units of seconds,
it will take a...
3. Write a program to determine how long, in units of seconds,
it will take a motor to raise a load into the air. Assume the user
will specify the power of the motor in units of watts, the rated
efficiency as a percentage (in whole number form—for example, 50
for 50%), the mass of the load in kilograms, and the height the
load is raised in the air in units of meters. As a test case, you
may assume the user provides 100 watts for the power of the motor,
60% for the efficiency of the motor, 100 kilograms for the mass of
the load, and 5 meters for the height the load is raised.