Javascript Code For Taking Input Using Scanner