Write the javascript coding using the conditional statement for the following Scenario

Display 1."status=walking" if the entered speed is less than 10 and greater than 2

2. "status=cycling or driving" if speed>10. otherwise if speed is equal to zero display "status=idle".