0

ParseInt(readline(),18)

I don't understand what is parseInt(readline(), 18) and how does it work. Can anybody explain it to me?

7th Sep 2021, 5:12 PM
Rabiya Tayyab
Rabiya Tayyab - avatar
3 odpowiedzi
+ 1
Hi which programming language? Javascript? readline() gets user input, parseInt converts it to integer. 18 is the base used for conversion. https://www.geeksforgeeks.org/javascript-parseint-function/
7th Sep 2021, 6:16 PM
Lisa
Lisa - avatar
+ 1
Thanks lisa
7th Sep 2021, 9:41 PM
Rabiya Tayyab
Rabiya Tayyab - avatar
0
Yes javascript
7th Sep 2021, 9:39 PM
Rabiya Tayyab
Rabiya Tayyab - avatar