How to take input in javascript in codechef

how to take input in any problem in js in codechef

it is an easy task follow the syntax written below
let a = prompt(‘enter srtring’) // remember it always take string as input so
a = Number.ParseInt(a) // to convert possible string to number like ‘4’

1 Like