Answers for "next if ruby"

0

next if ruby

for i in 5...11   
   if i == 7 then   
      next   
   end   
   puts i   
end
Output:
5
6
8
9
10
Posted by: Guest on April-29-2022

Browse Popular Code Answers by Language