Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (10 sloc) 0.253 kb
################################################################################
# 6.10_while_not.rb
################################################################################
sum = 0
i = 1
while !(sum>=50)
sum += i
i += 1
end
print sum, "\n"
Jump to Line
Something went wrong with that request. Please try again.