Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ ruby exception-1.rb
- Give me the dividend: 5
- Give me the divisor: 2
- Division 5 / 2 = 2
- Give me the dividend: 25
- Give me the divisor: 3
- Division 25 / 3 = 8
- Give me the dividend: stop
- Bye!
- $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement