Write an R program to calculate the sum of all elements in a vector.
EasyProblem Statement
Write an R program to calculate the sum of all elements in a vector.
Sample Input
Vector: [5, 10, 15, 20, 25]
Sample Output
Sum: 75
Limits
Time: 2s · Memory: 256 MB