0
function main() { var x = parseInt(readLine(), 10);}
Can anyone tell me the meaning of this sentence?
3 Answers
+ 1
Atul Panda
10 represent decimal. So when you do parseInt with 10 then you get decimal number. 10 is optional.
To get more knowledge check here
https://www.w3schools.com/jsref/jsref_parseint.asp
0
Sir why it is written 10,out there?