What will be the output after the following code is executed…
What will be the output after the following code is executed and the user enters 75 and “zero” at the first two prompts? def main(): try: total = int(input(“Enter total cost of items?”)) num_items = int(input(“Number of items:”)) average = total/num_items except ZeroDivisionError: print(“ERROR: Cannot have 0 items”) except ValueError: print(“ERROR : Cannot convert non-numeric value.”) if __name__ == “__main__”: main()
Read DetailsPlease use the following information answer questions 31 ~34…
Please use the following information answer questions 31 ~34. A firm has the following probability distribution for annual losses due to vandalism. Annual Losses Probability $ 0 .80 $ 5,000 .15 $ 20,000 .05 The firm has the following risk management options: Retention Retention + Safety, Safety program costs $1,000, and reduces losses by half. (e.g., reduces $5,000 to $2,500, reduces $20,000 to $10,000) Deductible insurance, Coverage limit = $10,000, Deductible = $600, Premium = $1,300
Read DetailsSome electric vehicle manufacturers have used flush, retract…
Some electric vehicle manufacturers have used flush, retractable door handles that automatically extend when needed. However, after reports of passengers being unable to exit vehicles quickly during emergencies, regulators are considering banning these hidden door handles in favor of traditional, always-accessible handles. This regulatory action would be an example of which risk control technique?
Read Details