Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.11 KB | None | 0 0
  1. fin = false
  2. y = 0
  3. x = 0
  4. w = 0
  5. print "How many times? "
  6. z = gets.to_f
  7. while (z > 0)
  8. y = (y + 5)
  9. w = y
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement