R | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

R

The given code takes 3 numbers as input. Complete the program to output the maximum of the 3 inputs. input <- readLines('stdin') x <- as.integer(input[1]) y <- as.integer(input[2]) z <- as.integer(input[3])

19th Oct 2021, 4:17 AM
Neha Singh
1 Answer
0
Please don't put links as tag. Hont: The function that is used for getting the maximum is mentioned in the lesson
19th Oct 2021, 5:15 PM
Lisa
Lisa - avatar