R Program to add two vectors and print the result on the console Chaitra 18/10/2026 18:57:21 Updated 18/10/2026 18:57:21 Program x <- c(1, 2, 3) y <- c(4, 5, 6) sum <- x + y print(sum) Output [1] 5 7 9