0
ParseInt(readline() ) ;
What is the meaning of parseInt and readline(from javascript arithmetic operators lesson) explain please
4 Answers
+ 3
readLine() is a function of Node JS to get input values and it returns string
So if you take input 10 then it would be considered as a string value but it is actually an integer value so we need to parse string value to integer value so here we use parseInt
+ 1
abi abitha
I already explained in my answer.
0
Ok but readline means
0
Ok thank you