Quiz on Variables
Take a quiz on Ruby variables
1
Consider the following code:
x = 12 - 2 + 4
puts x
What’s the expected output?
A)
12
B)
10
C)
14
D)
4
Question 1 of 30 attempted
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy