+ 2
DRACULLA There should also be the third input i.e: z. You just need to use the max(x,y,z) function... No need to create such big functions (rangeSum). Entire function will be removed. Happy Coding đŸ€  Edit: Review lesson 5.1
15th Mar 2022, 4:45 AM
Adil
Adil - avatar
0
The task description (find maximum) does not match the code (range sum). Please clarify which task you want to do, then link the corresponding code.
15th Mar 2022, 10:58 AM
Lisa
Lisa - avatar
0
Hi
16th Mar 2022, 6:16 PM
Gamer UB
0
input <- readLines('stdin') x <- as.integer(input[1]) y <- as.integer(input[2]) z <- as.integer(input[3]) print(max(x, y,z))
13th Apr 2022, 1:46 AM
Asmaa Nasr