From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more
1234567891011 #!/usr/bin/ruby### https://rosettacode.org/wiki/Loops/While#var i = 1024;while (i > 0) { say i; i.div!(2).int!;}
#!/usr/bin/ruby
#
## https://rosettacode.org/wiki/Loops/While
var i = 1024;
while (i > 0) {
say i;
i.div!(2).int!;
}