M
Q. What is the output of the given code? i = 50 j=55 while i > 25 && j>35 do puts 50*j/i i -= 1 j-=2 end
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Q. What is the purpose of the beginning_of_week method for a Date object in Ruby?
Q. What does the term "class" refer to in OOP?
Q. Guess the operator : If Condition is true ? Then value X : Otherwise value Y?
Q. What is the output of the given code? m= 8 loop do m += 2 puts m break if m == 16 end
Q. Which notation is used for Octal notation?
Q. What is the method used to define a class method in Ruby?
Q. What will be the output of the given ruby code?
Q. Which of the following is a Reserved Words in Ruby?
Q. What is the output of the given code? i = 3 while i > 0 do print i i -= 1 end
Q. How do you find the number of hours between two Time objects in Ruby?
Discusssion
Login to discuss.