x <- 3+5i
y <- 5i
# Print values of x and y
x
y
# Print the class name of x and y
class(x)
class(y)
[1] 3+5i [1] 0+5i [1] "complex" [1] "complex"