Easy
Nested try Blocks
Read a and b. In an outer try, print
outer start; in an inner try divide a by b and print the result as an int (with //). The inner block catches only ZeroDivisionError (printing inner caught) and has a finally printing inner done. The outer finally prints outer done.Input
Two integers on one line.
Output
Lines.
Sample 1
Input
10 2
Output
outer start 5 inner done outer done
Sample 2
Input
1 0
Output
outer start inner caught inner done outer done
Output appears here