R Program to initialize more than one variable at a time
In this program, You will learn How to initialize more than one variable at a time in R.
a = b = c = 90
x = y = z = 10
Example: How to initialize more than one variable at a time in R
x = y = z = 20
print(paste("x value is :",x))
print(paste("y value is :",y))
print(paste("z value is :",z))
Output:
> x = y = z = 20
>
> print(paste("x value is :",x))
[1] "x value is : 20"
>
> print(paste("y value is :",y))
[1] "y value is : 20"
>
> print(paste("z value is :",z))
[1] "z value is : 20"
>