Java Program Using Control Statements Javascript Interview