Challenge: Generate Panic from Division by 0

This lesson brings you a challenge to solve.

We'll cover the following

Problem statement #

Use the coding scheme you learned in the Recover lesson to provoke a real runtime panic by dividing an integer by 0.

Try to attempt the challenge below. Good Luck!

Get hands-on with 1400+ tech skills courses.