Quiz: Fun Math
Test the knowledge you've gained in this section by trying this quiz.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
What is the output of the following code?
(1..10).each do |x|
if (x == 2 || x == 4 || x==5)
print x
break
end
end
A.
2
B.
24
C.
245
D.
13
1 / 4
...