demonstrate the calculator program. Program : <html> <body> <script> const operator = prompt('Enter operator to perfome the calculation(either+,-,* or/):'); const number1 = parseFloat(prompt('Enter the first number:')); const number2 = parseFloat(prompt('Enter the second number:')); let result; if(operator =='+') { result = number1+number2; } else if(operator =='-') { result = number1-number2; } else if(operator =='*') { result = number1*number2; } else { result=number1/number2; } window.alert("Result is"+result); </script> </body> </html> OUTPUT : Result : The given program is executed successfully. Ex no : 2 Date : FACTORIAL Aim: To demonstrate the factorial program. Program : <html> <body style="text align:center;font-size:20px;"> <h1>welcome to department of BCA</h1> <h1>FACTORIAL NUMBER</h1> enter the num...