I am trying to add user input value, both input values given as 5 or it can be anything
x <- as.numeric(readline("add value of 5:"));
x1 <- as.numeric(readline("add value of 5:"))
I am trying to add user input value, both input values given as 5 or it can be anything
x <- as.numeric(readline("add value of 5:"));
x1 <- as.numeric(readline("add value of 5:"))
Well, you answered your own question:
y = x + x1
ory <- x + x1
.