RosettaCodeData/Task/Variables/Ring/variables-5.ring
2023-07-01 13:44:08 -04:00

5 lines
247 B
Text

x = 10 # x is a number
y = "20" # y is a string
sum = x + y # sum is a number (y will be converted to a number)
Msg = "Sum = " + sum # Msg is a string (sum will be converted to a string)
see Msg + nl