So, I am pushing elements into array through prompt until getting 0. After that I am trying to find the first double digit number. For example if the array is `[2,3,55,0]` my program should return 55.

```js
function findFirstDouble() {
 var niz = []
 var a = 1;
 for (var i = 1; a != 0; i++) {
  var unos = parseInt(prompt("Enter number :"))
  niz.push(unos)
  a = unos
 }
 alert(niz);
 for (var i = 0; i < niz.length; i++) {
  if (niz[i] / 10 > 0 && niz[i] / 100 == 0) {
   console.log(niz[i]); 
   break;
  }
  else {
   alert("No double digit numbers!")
   break;
  }
 }
}
findFirstDouble();
```