Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. $ ruby exception-1.rb
  2. Give me the dividend: 5
  3. Give me the divisor: 2
  4. Division 5 / 2 = 2
  5. Give me the dividend: 25
  6. Give me the divisor: 3
  7. Division 25 / 3 = 8
  8. Give me the dividend: stop
  9. Bye!
  10. $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement