Online Ruby Compiler
										
										
x = 25;
y = 40;
z = x+y;

print "Sum of x + y = ", z;
                                
                                

Output Results

										
Sum of x + y = 65