Assignment of variables

x=3
x<-23  #23 is the age of the respondent
y<-3
z<-x+y
z
## [1] 26
x+y
## [1] 26

Print the variable x

print(x)
## [1] 23
y
## [1] 3
z
## [1] 26