Answer:
def print_popcorn_time(bag_ounces):
if bag_ounces<3:
print("Too Small")
elif bag_ounces>10:
print("Too Large")
else:
total = 6*bag_ounces
print('{} seconds'.format(total))
Explanation:
Using Python programming language
The function is defined to accept a single parameter
Using a combination of if/elif/else statements, the approprite message is displayed when the function is called
Common input devices include the keyboard, image scanner, and integrated video cameras. These also include the microphone, mouse, joystick controller, gamepad or joypad, webcam, digital pen, and others. Input devices are computer hardware used to control signals and provide data to a computer or an information appliance.
Answer:
see attached picture
Explanation:
An algorithm would be:
if hours < 10 then bonus = 0
else if hours <= 15 then bonus = 1000
else if hours <= 20 then bonus = 1500
else if hours <= 25 then bonus = 2000
else if hours <= 30 then bonus = 3000
else bonus = 5000