+ 1
Help me get it right
input <- readLines('stdin') x <- as.integer(input[1]) y <- as.integer(input[2]) #define the function result <- rangeSum(x, y) print(result)
4 Answers
+ 2
Ntokozo Gift
Define a function with name rangeSum, add values and return final value.
Learn lesson "User-defined Function" already explained there.
+ 3
You have to define the function
0
Give me the everything . Put code on the script that's missing or whatever that's supposed to be done. Please
0
Re-read the lessons. Look at the examples. Then write your own code. Show us your code if you need help.