πŸ“Š Ruby
Q. What is the output of the given code?
i = 50
j=55
while i > 25 && i*j<100 do
puts (50*j)/i
i -= 1
j-=2
end
  • (A) 25 35
  • (B) No output
  • (C) Infinite loop
  • (D) 55 54 53 52 51 50 48 47 46 45
πŸ’¬ Discuss
βœ… Correct Answer: (B) No output

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
242
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate