Write a JavaScript program that will do the following:
<!DOCTYPE html>
<html>
<body>
<script>
var arr = new Array(50);
for(i=0;i<50;i++)
arr[i]=Math.floor(Math.random() * 11);
n = prompt("Please enter the number between 1-10 to search");
var message="";
for(i=0;i<50;i++)
if(arr[i]==n)
message=message+" "+i;
if(message.length!=0)
alert("Found at : "+message);
else
alert(n+" Does not exist ");
</script>
</body>
</html>
Input:

Output:

Write a JavaScript program that will do the following: Create an array of size 50. Store...